I installed latest node, npm and angular
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: @angular/[email protected] npm ERR! node_modules/@angular/compiler npm ERR! dev @angular/compiler@"~11.0.5" from the root project npm ERR! peer @angular/compiler@"11.0.9" from @angular/[email protected] npm ERR! node_modules/@angular/compiler-cli npm ERR! dev @angular/compiler-cli@"~11.0.5" from the root project npm ERR! peer @angular/compiler-cli@"^11.0.0" from @angular-devkit/[email protected] npm ERR! node_modules/@angular-devkit/build-angular npm ERR! dev @angular-devkit/build-angular@"~0.1100.5" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @angular/compiler@"11.1.2" from @angular/[email protected] npm ERR! node_modules/@angular/localize npm ERR! peerOptional @angular/localize@"^11.0.0" from @angular-devkit/[email protected] npm ERR! node_modules/@angular-devkit/build-angular npm ERR! dev @angular-devkit/build-angular@"~0.1100.5" 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:UsersJatinKumarAppDataLocal pm-cacheeresolve-report.txt for a full report. npm ERR! A complete log of this run can be found in: npm ERR! C:UsersJatinKumarAppDataLocal pm-cache\_logs2021-02-04T19_41_41_433Z-debug.log [ERROR] An error occurred while running subprocess npm. npm.cmd i exited with exit code 1. Re-running this command with the --verbose flag may provide more information.
run npm install --force and then
npm install --force
npm install --save-dev --force
Now you can run your project!
2.1m questions
2.1m answers
60 comments
57.0k users