Issues installing React switch input - node.js

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.

Related

I can't install re-base and firebase in react project

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 ?

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: 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

Dependancy Angular error with npm install

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!

when i am going any dependency install i am getting an error like this

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: chat_application#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#"^16.8.0 || ^17.0.1" from react-chat-engine#1.11.22
npm ERR! node_modules/react-chat-engine
npm ERR! react-chat-engine#"*" from the root project
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\Swapnil\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\Swapnil\AppData\Local\npm-cache\_logs\2022-04-28T04_06_41_338Z-debug-0.log
Try using - npm install --save modulename --legacy-peer-deps

Problems with the Geofire library in NodeJS

When I try to implement the geofire library it throws an error, I would like to know if someone can tell me what this error is about, and how can I solve it
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: prueba_geofire#1.0.0
npm ERR! Found: firebase#8.0.1
npm ERR! node_modules/firebase
npm ERR! firebase#"^8.0.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer firebase#"^7.2.0" from geofirex#0.1.0
npm ERR! node_modules/geofirex
npm ERR! geofirex#"*" 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/flbarriosgutierrez/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/flbarriosgutierrez/.npm/_logs/2020-11-07T11_09_50_263Z-debug.log

Resources