Problems with the Geofire library in NodeJS - node.js

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

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 ?

Cannot install under npm packages anymore

When I want to install something under npm then I get an error. I try to fix it so many ways but failed. Here is the error
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: undefined#undefined
npm ERR! Found: #nomiclabs/hardhat-ethers#0.3.0-beta.13
npm ERR! node_modules/#nomiclabs/hardhat-ethers
npm ERR! dev #nomiclabs/hardhat-ethers#"npm:hardhat-deploy-ethers" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! dev #nomiclabs/hardhat-waffle#"^2.0.3" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: #nomiclabs/hardhat-ethers#2.1.1
npm ERR! node_modules/#nomiclabs/hardhat-ethers
npm ERR! peer #nomiclabs/hardhat-ethers#"^2.0.0" from #nomiclabs/hardhat-waffle#2.0.3
npm ERR! node_modules/#nomiclabs/hardhat-waffle
npm ERR! dev #nomiclabs/hardhat-waffle#"^2.0.3" 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\Mazhar\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\Mazhar\AppData\Local\npm-cache\_logs\2022-09-11T23_40_30_606Z-debug-0.log
PS C:\Users\Mazhar\Documents\Alchemy-weekly\nft-marketplace-scratch>

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

Issues installing React switch input

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.

Resources