angular-material-admin icon indicating copy to clipboard operation
angular-material-admin copied to clipboard

Getting npm ERR! code ERESOLVE on fresh install node v14

Open rodrigocnascimento opened this issue 3 years ago • 0 comments

Hi,

I've tried to clone and create a fresh install, but I'm getting this error.

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/rxjs
npm ERR!   rxjs@"7.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer rxjs@"^6.5.3" from @angular/[email protected]
npm ERR! node_modules/@angular/core
npm ERR!   @angular/core@"~11.2.13" from the root project
npm ERR!   peer @angular/core@"11.2.14" from @angular/[email protected]
npm ERR!   node_modules/@angular/common
npm ERR!     @angular/common@"~11.2.13" 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 /home/rodrigo/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/rodrigo/.npm/_logs/2021-06-12T12_51_44_024Z-debug.log

Steps:

  • git clone
  • npm install

node version: v14.17.0

os: Linux/ Ubuntu 20.10

Using v12 seems to solve the problem, but throw some warnings.

rodrigocnascimento avatar Jun 12 '21 14:06 rodrigocnascimento