code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: erp-web@0.0.0 npm ERR! Found: @angular/core@13.0.3 npm ERR! node_modules/@angular/core


# npm resolution error report

While resolving: erp-web@0.0.0

Found: @angular/core@13.0.3

node_modules/@angular/core

  @angular/core@"~13.0.0" from the root project


Could not resolve dependency:

peer @angular/core@"13.3.12" from @angular/animations@13.3.12

node_modules/@angular/animations

  @angular/animations@"^13.1.0" from the root project


Fix the upstream dependency conflict, or retry

this command with --force or --legacy-peer-deps

to accept an incorrect (and potentially broken) dependency resolution.


Solution is 

Follow below steps :
  1. Remove node_modules
  2. Remove package-lock.json
  3. Run npm install --force

Post a Comment

Thank you

Previous Post Next Post