Skip to content

[Bug] Old and problematic dependency #156

Description

@popraducj

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions