Skip to content

Error in fresh npm install #615

@pinkpanthero

Description

@pinkpanthero

When I do npm install, after cloning the repo, I get the below error.

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @angular-devkit/[email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/ng-packagr
npm ERR!   dev ng-packagr@"^11.1.2" from the root project
npm ERR!   peerOptional ng-packagr@"^11.0.0 || ^11.2.0-next" from @angular-devkit/[email protected]
npm ERR!   node_modules/@angular-devkit/build-angular
npm ERR!     dev @angular-devkit/build-angular@"~0.1102.11" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer ng-packagr@"^10.0.0" from @angular-devkit/[email protected]
npm ERR! node_modules/@angular-devkit/build-ng-packagr
npm ERR!   dev @angular-devkit/build-ng-packagr@"~0.1002.1" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/ng-packagr
npm ERR!   peer ng-packagr@"^10.0.0" from @angular-devkit/[email protected]
npm ERR!   node_modules/@angular-devkit/build-ng-packagr
npm ERR!     dev @angular-devkit/build-ng-packagr@"~0.1002.1" from the root project

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions