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

[Bug] Old and problematic dependency #156

Open
popraducj opened this issue Jul 26, 2024 · 0 comments
Open

[Bug] Old and problematic dependency #156

popraducj opened this issue Jul 26, 2024 · 0 comments

Comments

@popraducj
Copy link

Version

latest

Reproduction link

https://github.com/creativetimofficial/material-dashboard-angular2

Operating System

windows

Device

pc

Browser & Version

not important

Steps to reproduce

download the free version and in the folder run npm i

What is expected?

the npm install run smoothly and have little to none vulnerabilities and for sure no high once

What is actually happening?

1 first it will fail with:
While resolving: [email protected]
npm error Found: @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/build-angular
npm error dev @angular-devkit/build-angular@"^14.2.7" from the root project
npm error
npm error Could not resolve dependency:
npm error dev @angular-devkit/build-angular@"^14.2.7" from the root project
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/typescript
npm error peer typescript@">=4.6.2 <4.9" from @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/build-angular
npm error dev @angular-devkit/build-angular@"^14.2.7" from the root project
2 once first if fixed next you get
13 vulnerabilities (10 moderate, 3 high)


Solution

upgrade packages and replace those that are out of life like protractor which had end of life 1 year ago

Additional comments

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