Description
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