Closed owencraston closed 3 years ago
https://github.com/owencraston/MyTestApp
In above repo run the following install command...
npm install @ant-design/react-native --save
It should successfully install the package as a dependency on my app
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: mytestapp@0.0.1 npm ERR! Found: react@17.0.1 npm ERR! node_modules/react npm ERR! react@"17.0.1" from the root project 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! peer @react-native-community/async-storage@">= 1.11.0" from @ant-design/react-native@4.1.0 npm ERR! node_modules/@ant-design/react-native npm ERR! @ant-design/react-native@"*" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm version 7.16.0
Please check your async-storage version at first. Thank you.
Reproduction link
https://github.com/owencraston/MyTestApp
Steps to reproduce
In above repo run the following install command...
npm install @ant-design/react-native --save
What is expected?
It should successfully install the package as a dependency on my app
What is actually happening?
npm version 7.16.0