Coder Social home page Coder Social logo

__'s People

Contributors

dependabot[bot] avatar warmhug avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

__'s Issues

antd-ts报错

直接把项目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

自己尝试重新配了一个同样报错

感谢😀

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.