code ERESOLVE
ERESOLVE unable to resolve dependency tree
npm install --force
or
npm install --legacy-peer-deps
While resolving:
[email protected]
Found:
[email protected]
node_modules/react
react@"17.0.2" from the root project
Could not resolve dependency:
peer react@"18.2.0" from
[email protected]
node_modules/react-native
react-native@"0.71.0-rc.0" from the root project
Fix the upstream dependency conflict, or retry
this command with --force or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.
For a full report see:
C:\Users\Administrator\AppData\Local\npm-cache\_logs\2024-05-06T04_15_49_489Z-eresolve-report.txt
A complete log of this run can be found in:
C:\Users\Administrator\AppData\Local\npm-cache\_logs\2024-05-06T04_15_49_489Z-debug-0.log