Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Unable to resolve dependency tree error when installing npm packages

npm install --save --legacy-peer-deps
Comment

ERESOLVE unable to resolve dependency tree

npm config set legacy-peer-deps true
npm cache clean --force
Comment

how to deal with ERESOLVE unable to resolve dependency tree

npm install --legacy-peer-deps

You have dependency conflict (incorrect & potentially broken dependency)
Try to run the command with --force, or --legacy-peer-deps.
If it doesn't take effect, the temporary solution is using prior 
versions of the Node.js (downgrading the Node.js version) as
it causes this kind of errors to happen sometimes.

Comment

unable to resolve dependency tree

npm config set legacy-peer-deps true
Comment

Unable to resolve dependency tree error when installing npm packages

try to run the npm command with --force, or --legacy-peer-deps
EXEMPLE : npm install react-router-dom --force
Comment

PREVIOUS NEXT
Code Example
Shell :: kill process on port windows 
Shell :: restart-Service sshd 
Shell :: install networkx python 
Shell :: git clone fatal: unable to access SSL certificate problem: self signed certificate in certificate chain 
Shell :: how to install steam on ubuntu 
Shell :: brew install atom 
Shell :: mac host file 
Shell :: youtube music download ubuntu 
Shell :: check that redis is running 
Shell :: start mongodb 
Shell :: ubuntu glibc install 
Shell :: Another active Homebrew update process is already in progress 
Shell :: bash send to dev null 
Shell :: how to extract zip file in ubuntu terminal 
Shell :: install react native navigation 
Shell :: check git url 
Shell :: .gitignore file not ignoring the file 
Shell :: Could not install from "HussainAppDataRoaming pm-cache\_npx15208" as it does not contain a package.json file. 
Shell :: expo start production mode 
Shell :: change remote url git 
Shell :: how to know my ros version 
Shell :: powershell get all environment variables 
Shell :: how to edit bash profile 
Shell :: powershell tolower 
Shell :: how to download workbench for linux 
Shell :: install certbot ubuntu 20.04 nginx 
Shell :: install geary ubuntu 
Shell :: how to change swap space on ubuntu 
Shell :: ssh-copy-id windows10 
Shell :: clone mongodb database to local machine 
ADD CONTENT
Topic
Content
Source link
Name
9+1 =