recoil-nexus
recoil-nexus copied to clipboard
Dependency Error
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/react npm ERR! react@"18.2.0" from the root project npm ERR! peer react@">=16.8.0" from [email protected] npm ERR! node_modules/recoil-nexus npm ERR! recoil-nexus@"^0.5.1" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^18.3.1" from [email protected] npm ERR! node_modules/react-dom npm ERR! peer overridden react-dom@"^18.3.1" (was ">=16.8.0") from [email protected] npm ERR! node_modules/recoil-nexus npm ERR! recoil-nexus@"^0.5.1" from the root project npm ERR! npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! npm ERR! For a full report see: npm ERR! C:\Users\Mechatronics\AppData\Local\npm-cache_logs\2024-07-29T23_54_26_893Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: C:\Users\Mechatronics\AppData\Local\npm-cache_logs\2024-07-29T23_54_26_893Z-debug-0.log
It happens when I create an expo 51 version project