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

master branch issue with npm install #41

Open
edjm1971 opened this issue Oct 27, 2022 · 2 comments
Open

master branch issue with npm install #41

edjm1971 opened this issue Oct 27, 2022 · 2 comments

Comments

@edjm1971
Copy link

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$ 
@edjm1971
Copy link
Author

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.

@edjm1971
Copy link
Author

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]$ 

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