Open bedobed opened 3 years ago
Did you fix that?
@olserra do you have find the fix? i have the same problem and no answer here...
@olserra @Nikakhtar I think this is due to multiple versions of react, react-native, react-native-web
, probably were installed globally.
Try with installing with the following options --force, or --legacy-peer-deps
Prerequisites
Please answer the following questions for yourself before submitting an issue.
Expected Behavior
No errors after npm install.
Current Behavior
npm install give npm ERR! ERESOLVE unable to resolve dependency tree
Failure Information (for bugs)
Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
Failure Logs
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: rn-material-kit-pro@1.8.0 npm ERR! Found: react@16.13.1 npm ERR! node_modules/react npm ERR! react@"16.13.1" from the root project npm ERR! peer react@"16.13.1" from jest-expo@40.0.2 npm ERR! node_modules/jest-expo npm ERR! dev jest-expo@"^40.0.0" from the root project npm ERR! 2 more (react-native, react-native-web) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"17.0.1" from react-dom@17.0.1 npm ERR! node_modules/react-dom npm ERR! peer react-dom@">=16.5.1" from react-native-web@0.13.18 npm ERR! node_modules/react-native-web npm ERR! peer react-native-web@"~0.13.7" from jest-expo@40.0.2 npm ERR! node_modules/jest-expo npm ERR! dev jest-expo@"^40.0.0" 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.
eresolve-report.txt
2021-03-13T10_52_46_503Z-debug.log