Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install 后找不到模块 #2

Open
mxpasser opened this issue Aug 16, 2021 · 0 comments
Open

npm install 后找不到模块 #2

mxpasser opened this issue Aug 16, 2021 · 0 comments

Comments

@mxpasser
Copy link

mxpasser commented Aug 16, 2021

1、无法找到模块“react-native-swiper-hooks”的声明文件。“/Users/xxx/xxxxxx/node_modules/react-native-swiper-hooks/index.js”隐式拥有 "any" 类型。
尝试使用 npm i --save-dev @types/react-native-swiper-hooks (如果存在),或者添加一个包含 declare module 'react-native-swiper-hooks'; 的新声明(.d.ts)文件ts(7016)

2、属性列表中,属性名重名:颜色名写成了与size重名。
图片

@mxpasser mxpasser changed the title install 后找不到模块 npm install 后找不到模块 Aug 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant