creativetimofficial / material-dashboard-angular2

Material Dashboard Angular
https://demos.creative-tim.com/material-dashboard-angular2/
MIT License
1.01k stars 2.09k forks source link

[Bug] Old and problematic dependency #156

Open popraducj opened 4 months ago

popraducj commented 4 months ago

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: material-dashboard-angular@2.8.0 npm error Found: @angular-devkit/build-angular@13.3.1 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: typescript@4.7.4 npm error node_modules/typescript npm error peer typescript@">=4.6.2 <4.9" from @angular-devkit/build-angular@14.2.13 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