【发布时间】:2023-02-07 13:51:37
【问题描述】:
我尝试将我的 React Native 项目升级到最新版本。
当我尝试运行 npx react-native upgrade 时出现错误:
error Command failed: npm install --save --save-exact react-native@0.69.1 react@18.0.0
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found: react-native@0.69.1
npm ERR! node_modules/react-native
npm ERR! react-native@"0.69.1" from the root project
npm ERR! peer react-native@"> 0.57" from @fortawesome/react-native-fontawesome@0.2.7
npm ERR! node_modules/@fortawesome/react-native-fontawesome
npm ERR! @fortawesome/react-native-fontawesome@"^0.2.7" from the root project
npm ERR! 24 more (@ptomasroos/react-native-multi-slider, ...)
有人可能有同样的问题吗? 我当前的版本是 0.63.4。
坦克给所有人!
【问题讨论】:
标签: react-native