angular-testing-course
angular-testing-course copied to clipboard
master branch issue with npm install
I pulled the codebase down this morning to try and resolve my project which I started earlier this year but ran into the problem with npm install.
Are you going to fix this?
angular-testing-course-master]$ npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/tslint
npm ERR! dev tslint@"~6.1.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer tslint@"^3.9.0" from [email protected]
npm ERR! node_modules/codelyzer
npm ERR! dev codelyzer@"^0.0.28" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/tslint
npm ERR! peer tslint@"^3.9.0" from [email protected]
npm ERR! node_modules/codelyzer
npm ERR! dev codelyzer@"^0.0.28" 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/userme/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/userme/.npm/_logs/2022-10-27T13_38_08_457Z-debug-0.log
angular-testing-course-master$
I've tried playing with settings and modifying in my project the packages but am fed up at this point. Force will work but that just does not feel to be the correct way to handle the issue.
Using npm install --force gives the following output
angular-testing-course-master]$ npm install --force
npm WARN using --force Recommended protections disabled.
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/tslint
npm WARN dev tslint@"~6.1.0" from the root project
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer tslint@"^3.9.0" from [email protected]
npm WARN node_modules/codelyzer
npm WARN dev codelyzer@"^0.0.28" from the root project
npm WARN
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/tslint
npm WARN peer tslint@"^3.9.0" from [email protected]
npm WARN node_modules/codelyzer
npm WARN dev codelyzer@"^0.0.28" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/jasmine-core
npm WARN dev jasmine-core@"~3.6.0" from the root project
npm WARN 1 more (karma-jasmine)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer jasmine-core@">=3.8" from [email protected]
npm WARN node_modules/karma-jasmine-html-reporter
npm WARN dev karma-jasmine-html-reporter@"^1.5.0" from the root project
npm WARN
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/jasmine-core
npm WARN peer jasmine-core@">=3.8" from [email protected]
npm WARN node_modules/karma-jasmine-html-reporter
npm WARN dev karma-jasmine-html-reporter@"^1.5.0" from the root project
removed 1 package, and audited 1616 packages in 8s
161 packages are looking for funding
run `npm fund` for details
5 high severity vulnerabilities
To address all issues, run:
npm audit fix
```Run `npm audit` for details.
angular-testing-course-master]$