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: fast#0.0.1
npm ERR! Found: redux#3.7.2
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 redux-thunk#2.4.1
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
Related
I'm trying to install re-base and firebase with
npm install re-base firebase
and I get this error and don't understand it
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: chatbox#0.1.0
npm ERR! Found: firebase#9.14.0
npm ERR! node_modules/firebase
npm ERR! firebase#"^9.14.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer firebase#"^5.3.0" from re-base#4.0.0
npm ERR! node_modules/re-base
npm ERR! re-base#"*" 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!
npm ERR! See C:\Users\...\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\...\AppData\Local\npm-cache\_logs\2022-11-25T13_34_54_300Z-debug-0.log
Did someone know where it come from and how to solve it please ?
I used npm install on angular but i get this error. I don't have idea for resolution.
I'm trying to deleted node_module and reinstall but i get same problem.
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: lopticienne#0.0.0
npm ERR! Found: #angular/common#12.2.16
npm ERR! node_modules/#angular/common
npm ERR! #angular/common#"~12.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer #angular/common#"^9.1.12" from ng-image-slider#2.8.0
npm ERR! node_modules/ng-image-slider
npm ERR! ng-image-slider#"^2.8.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!
I'm rather new to upgrading dependencies on my local machine. I'm trying to upgrade MaterialUI using NPM from V4 to V5.
The moment I enter the code: npm install #mui/material #mui/styles, it gives me this huge error.
If someone could please guide me through this, that will be great.
PS C:\Users\rprua564\Documents\autobots-dashboard-appstatic> npm install #mui/material #mui/styles
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: autobots-next-appstatic#0.1.0
npm ERR! Found: react#18.1.0
npm ERR! node_modules/react
npm ERR! react#"^18.1.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react#"^17.0.0" from #mui/styles#5.8.0
npm ERR! node_modules/#mui/styles
npm ERR! #mui/styles#"^5.8.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!
npm ERR! See C:\Users\rprua564\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\rprua564\AppData\Local\npm-cache\_logs\2022-05-22T20_15_01_551Z-debug.log
Im trying to install react input switch but i keep getting this error:
gomer#Gomers-MBP reactdentonline % npm install react-input-switch --save
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: reactdentonline#0.1.0
npm ERR! Found: react#17.0.2
npm ERR! node_modules/react
npm ERR! react#"^17.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react#"^16.6.3" from react-input-switch#2.2.2
npm ERR! node_modules/react-input-switch
npm ERR! react-input-switch#"*" 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!
npm ERR! See /Users/gomer/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/gomer/.npm/_logs/2021-05-22T13_14_14_559Z-debug.log
gomer#Gomers-MBP reactdentonline %
Any idea what is wrong cause i dont want to use force.
I'm developing a react native application. Throughout the project I have used Node package manager to install the packages. But I ran into this dependency problem first time when I try to install react-native-styled-components with npm, so I installed it with yarn.
Now I can't install any package with node package manager, I run into this unable to resolve dependency tree error.
PS C:\Users\94774\OneDrive\React Projects\Native Projects\Android\socialmediaapp> npm install react#latest react-native#latest
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: socialmediaapp#0.0.1
npm ERR! Found: react#17.0.2
npm ERR! node_modules/react
npm ERR! react#"17.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react#"17.0.1" from react-native#0.64.1
npm ERR! node_modules/react-native
npm ERR! react-native#"0.64.1" 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!
npm ERR! See C:\Users\94774\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\94774\AppData\Local\npm-cache\_logs\2021-05-06T12_12_44_173Z-debug.log
PS C:\Users\94774\OneDrive\React Projects\Native Projects\Android\socialmediaapp> npm install --save #react-native-firebase/app
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: socialmediaapp#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! peer react#">= 16.8.0" from styled-components#5.3.0
npm ERR! node_modules/styled-components
npm ERR! styled-components#"^5.3.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react#"17.0.2" from react-dom#17.0.2
npm ERR! node_modules/react-dom
npm ERR! peer react-dom#">= 16.8.0" from styled-components#5.3.0
npm ERR! node_modules/styled-components
npm ERR! styled-components#"^5.3.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!
npm ERR! See C:\Users\94774\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\94774\AppData\Local\npm-cache\_logs\2021-05-06T12_41_01_675Z-debug.log
npm install react-native-styled-components --legacy-peer-deps