The problem starts with installing of npm packages gives me issues. I am running into issues
I have tried npm.install and had no luck as it returns issues. I was expecting the installation of the package to start and be complete as this is the correct line of code as far as I am aware.
The code I am running in the terminal is:
npm.install <package_name> –global.
The errors I am getting look this this:
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! @angular/compiler@"~10.0.4" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/compiler@"10.2.4" from @angular/[email protected]
npm ERR! node_modules/@angular/compiler-cli
npm ERR! peer @angular/compiler-cli@">=10.0.0-next.0 < 11" from @angular-devkit/[email protected]
npm ERR! node_modules/@angular-devkit/build-angular
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 /Users/robert.anderson/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/robert.anderson/.npm/_logs/2021-01-05T18_17_06_138Z-debug.log
New contributor
Callum_10 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.