试图安装react-navigation,并显示followng。我该如何解决这些错误? npm审核修复不起作用

问题描述 投票:0回答:1

cham​​ika @ chamika-MS-7817:〜/ Documents / React Native Projects / navi $ npm install react-navigation

npm WARN @ react-native-community / masked-view @ 0.1.5需要对等体react-native@^0.57,但未安装。您必须自己安装对等依赖项。npm WARN @ typescript-eslint / eslint-plugin @ 2.15.0需要一个@ typescript-eslint / parser @ ^ 2.0.0的同位体,但未安装任何同位体。您必须自己安装对等依赖项。npm WARN [email protected]需要一个@ typescript-eslint / parser @ 2.x的同位体,但未安装任何同位体。您必须自己安装对等依赖项。npm WARN [email protected]需要[email protected]的对等方,但未安装。您必须自己安装对等依赖项。npm WARN [email protected]要求对等体react-native-safe-area-context@^0.6.0,但未安装。您必须自己安装对等依赖项。npm警告可选的跳过选择性依赖性:[email protected](node_modules / react-scripts / node_modules / fsevents):npm WARN notsup跳过可选依赖项:[email protected]不受支持的平台:wanted {“ os”:“ darwin”,“ arch”:“ any”}(当前:{“ os”:“ linux”,“ arch”: “ x64”})npm警告可选的跳过可选依赖性:[email protected](node_modules / fsevents):npm WARN notsup跳过可选依赖项:[email protected]不受支持的平台:wanted {“ os”:“ darwin”,“ arch”:“ any”}(当前:{“ os”:“ linux”,“ arch”: “ x64”})

35个方案正在寻找资金运行npm fund以获取详细信息

发现了4个严重程度较低的漏洞运行npm audit fix修复它们,或运行npm audit以获得详细信息

react-native react-native-android react-navigation react-native-navigation
1个回答
0
投票

您是如何创建该项目的?您是否使用过create react本机应用程序?因为它说它本身找不到React Native。

© www.soinside.com 2019 - 2024. All rights reserved.