reactNative版本冲突的解决方案是什么?

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

当我运行“npm start”时出现此错误。

npm WARN ERESOLVE 覆盖对等依赖 npm WARN 解析时:[email protected] npm WARN 发现:[email protected] npm WARN node_modules/反应 来自根项目的 npm WARN react@"18.2.0" npm WARN 还有 25 个(@callstack/react-theme-provider,...) npm 警告 npm WARN 无法解析依赖项: npm WARN peer react@"^16.8.0 || ^17.0.0" 来自 [email protected] npm 警告 node_modules/react-native-gifted-chat/node_modules/use-memo-one npm WARN use-memo-one@"1.1.2" 来自 [email protected] npm 警告 node_modules/react-native-gifted-chat npm 警告 npm WARN 冲突的对等依赖:[email protected] npm WARN node_modules/反应 npm WARN peer react@"^16.8.0 || ^17.0.0" 来自 [email protected] npm 警告 node_modules/react-native-gifted-chat/node_modules/use-memo-one npm WARN use-memo-one@"1.1.2" 来自 [email protected] npm 警告 node_modules/react-native-gifted-chat

在版本控制错误中我尝试更新库

react-native helper
© www.soinside.com 2019 - 2024. All rights reserved.