'react-native ERESOLVE unable to resolve dependency tree
I am something new with react native and I am having that error in the title of the question when I try to run command npm install react-redux redux redux-thunk react-native-router-flux react-addons-update --save r-flux react-addons-update --save
I am following this video tutorial.
And here are the errors:
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/redux
npm ERR! redux@"^3.6.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer redux@"^4" from [email protected]
npm ERR! node_modules/redux-thunk
npm ERR! redux-thunk@"^2.2.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.
npm ERR! See C:\Users\Pro\AppData\Local\npm-
cache\eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be
found in:
npm ERR! C:\Users\Pro\AppData\Local\npm-
cache\_logs\2022-05-05T18_58_31_700Z-debug-0.log
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
