warmhug / __ Goto Github PK
View Code? Open in Web Editor NEW日常学习记录
日常学习记录
直接把项目clone下来的,未做任何改动
错误如下
ERROR in [at-loader] node_modules/antd-mobile/lib/_util/touchableFeedback.d.ts:6:8
Module '"/Users/timeline/work/__/_react/antd-ts/node_modules/@types/react/index"' has no default export.
ERROR in [at-loader] node_modules/antd-mobile/lib/accordion/PropsType.d.ts:2:8
Module '"/Users/timeline/work/__/_react/antd-ts/node_modules/@types/react/index"' has no default export.
ERROR in [at-loader] node_modules/antd-mobile/lib/accordion/index.web.d.ts:2:8
Module '"/Users/timeline/work/__/_react/antd-ts/node_modules/@types/react/index"' has no default export.
ERROR in [at-loader] node_modules/antd-mobile/lib/action-sheet/ButtonListItem.web.d.ts:2:8
Module '"/Users/timeline/work/__/_react/antd-ts/node_modules/@types/react/index"' has no default export.
ERROR in [at-loader] node_modules/antd-mobile/lib/action-sheet/demo/basic.d.ts:2:8
Module '"/Users/timeline/work/__/_react/antd-ts/node_modules/@types/react/index"' has no default export.
ERROR in [at-loader] node_modules/antd-mobile/lib/action-sheet/style/index.d.ts:1:1
Cannot find type definition file for 'react-native'.
ERROR in [at-loader] node_modules/antd-mobile/lib/action-sheet/style/index.d.ts:2:27
Cannot find module 'react-native'.
ERROR in [at-loader] node_modules/antd-mobile/lib/activity-indicator/demo/basic.d.ts:2:8
Module '"/Users/timeline/work/__/_react/antd-ts/node_modules/@types/react/index"' has no default export.
...
ERROR in [at-loader] node_modules/typescript/lib/typescriptservices.d.ts:2959:15
Cannot redeclare block-scoped variable 'protectedMemberModifier'.
ERROR in [at-loader] node_modules/typescript/lib/typescriptservices.d.ts:2960:15
Cannot redeclare block-scoped variable 'exportedModifier'.
ERROR in [at-loader] node_modules/typescript/lib/typescriptservices.d.ts:2961:15
Cannot redeclare block-scoped variable 'ambientModifier'.
ERROR in [at-loader] node_modules/typescript/lib/typescriptservices.d.ts:2962:15
Cannot redeclare block-scoped variable 'staticModifier'.
ERROR in [at-loader] node_modules/typescript/lib/typescriptservices.d.ts:2963:15
Cannot redeclare block-scoped variable 'abstractModifier'.
ERROR in [at-loader] node_modules/typescript/lib/typescriptservices.d.ts:2965:11
Duplicate identifier 'ClassificationTypeNames'.
ERROR in [at-loader] node_modules/typescript/lib/typescriptservices.d.ts:2990:10
Duplicate identifier 'ClassificationType'.
ERROR in [at-loader] node_modules/typescript/lib/typescriptservices.d.ts:3081:10
Duplicate identifier 'DocumentRegistryBucketKey'.
ERROR in [at-loader] node_modules/typescript/lib/typescriptservices.d.ts:3107:11
Cannot redeclare block-scoped variable 'servicesVersion'.
ERROR in [at-loader] node_modules/typescript/lib/typescriptservices.d.ts:3116:9
Cannot redeclare block-scoped variable 'disableIncrementalParsing'.
ERROR in [at-loader] src/components/TsExample.tsx:2:24
Cannot find module 'antd-mobile'.
typescript 版本:2.1.4
antd-mobile: 0.9.11
自己尝试重新配了一个同样报错
感谢😀
请问 我引入ant-mobile 然后使用组件的时候 样式没有引进来导致现实不出效果 你遇到吗
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.