小编pat*_*ash的帖子

我无法解决的一些依赖项问题

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @react-native-community/async-storage@1.12.1
npm ERR! Found: react@17.0.2
npm ERR! node_modules/react
npm ERR!   react@"^17.0.2" from the root project
npm ERR!   peer react@">=16.3.0" from @callstack/react-theme-provider@3.0.7
npm ERR!   node_modules/@callstack/react-theme-provider
npm ERR!     @callstack/react-theme-provider@"^3.0.7" from react-native-paper@4.12.4
npm ERR!     node_modules/react-native-paper
npm ERR!       react-native-paper@"^4.12.4" from the root project
npm ERR!   25 more (@react-native-community/masked-view, ...)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8" from @react-native-community/async-storage@1.12.1
npm ERR! node_modules/@react-native-community/async-storage
npm ERR! …
Run Code Online (Sandbox Code Playgroud)

macos npm reactjs react-native

2
推荐指数
1
解决办法
1380
查看次数

标签 统计

macos ×1

npm ×1

react-native ×1

reactjs ×1