首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在npm安装react-native项目期间出现问题

在npm安装react-native项目期间出现问题
EN

Stack Overflow用户
提问于 2021-01-09 15:39:43
回答 1查看 811关注 0票数 0

运行npm install命令时出现问题。有些包的版本不正确,我不知道如何解决这个问题。该项目在react-native中,我使用的是android studio,npm的版本是v6.14.11,node是v14.15.4。

代码语言:javascript
复制
Applying patches...
No patch files found
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules\jest-haste-map\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN @react-native-community/cameraroll@1.0.3 requires a peer of react-native@>=0.57 <0.59 but none is installed. You must install peer dependencies yourself.
npm WARN react-native-country-picker-modal@1.11.0 requires a peer of react-dom@* but none is installed. You must install peer dependencies yourself.
npm WARN react-native-country-picker-modal@1.11.0 requires a peer of react-native-web@* but none is installed. You must install peer dependencies yourself.
npm WARN react-native-fs@2.16.6 requires a peer of react-native@^0.59.5 but none is installed. You must install peer dependencies yourself.
npm WARN react-native-fs@2.16.6 requires a peer of react-native-windows@^0.57.2 but none is installed. You must install peer dependencies yourself.
npm WARN react-native-loader@1.3.1 requires a peer of @react-native-community/art@^1.0.3 but none is installed. You must install peer dependencies yourself.
npm WARN react-native-pulse-loader@1.0.3 requires a peer of react-native@^0.27 but none is installed. You must install peer dependencies yourself.
npm WARN react-native-pulse-loader@1.0.3 requires a peer of prop-types@15.6.1 but none is installed. You must install peer dependencies yourself.
npm WARN react-native-sound-recorder@1.5.0 requires a peer of react-native@^0.46.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-native-vector-icons@6.7.0 requires a peer of @react-native-community/toolbar-android@^0.1.0-rc.1 but none is installed. You must install peer dependencies yourself.
npm WARN @sentry/react@5.29.2 requires a peer of react-dom@15.x || 16.x || 17.x but none is installed. You must install peer dependencies yourself.
npm WARN @codler/react-native-keyboard-aware-scroll-view@1.0.1 requires a peer of react-native@>=0.63.0 but none is installed. You must install peer dependencies yourself.
npm WARN @react-native-community/datetimepicker@3.0.9 requires a peer of react-native-windows@>=0.62 but none is installed. You must install peer dependencies yourself.
npm WARN modal-react-native-web@0.2.0 requires a peer of react-art@16.x.x but none is installed. You must install peer dependencies yourself.
npm WARN modal-react-native-web@0.2.0 requires a peer of react-dom@16.x.x but none is installed. You must install peer dependencies yourself.
npm WARN modal-react-native-web@0.2.0 requires a peer of react-native-web@0.9.x but none is installed. You must install peer dependencies yourself.
npm WARN @typescript-eslint/parser@1.13.0 requires a peer of eslint@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @typescript-eslint/eslint-plugin@1.13.0 requires a peer of eslint@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-plugin-react@7.12.4 requires a peer of eslint@^3.0.0 || ^4.0.0 || ^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-plugin-react-native@3.6.0 requires a peer of eslint@^3.17.0 || ^4 || ^5 but none is installed. You must install peer dependencies yourself.
npm WARN tsutils@3.19.0 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.

added 1506 packages from 942 contributors and audited 1513 packages in 229.863s

51 packages are looking for funding
  run `npm fund` for details

found 5 low severity vulnerabilities
  run `npm audit fix` to fix them, or `npm audit` for details
EN

回答 1

Stack Overflow用户

发布于 2021-01-10 00:59:10

以下是警告,如果您看到最后一条消息,指出包已成功添加:)

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/65640407

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档