Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting npm ERR! code ERESOLVE on fresh install node v14 #4

Open
rodrigocnascimento opened this issue Jun 12, 2021 · 0 comments
Open

Comments

@rodrigocnascimento
Copy link

rodrigocnascimento commented Jun 12, 2021

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: angular-material-admin@1.0.5
npm ERR! Found: rxjs@7.0.0
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/core@11.2.14
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/common@11.2.14
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 rodrigocnascimento changed the title Getting npm ERR! code ERESOLVE on fresh install Getting npm ERR! code ERESOLVE on fresh install node v14 Jun 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant