Skip to content

Error in fresh npm install #615

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/build-ng-packagr@0.1002.1
npm ERR! Found: ng-packagr@11.1.2
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/build-angular@0.1102.11
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/build-ng-packagr@0.1002.1
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: ng-packagr@10.1.2
npm ERR! node_modules/ng-packagr
npm ERR!   peer ng-packagr@"^10.0.0" from @angular-devkit/build-ng-packagr@0.1002.1
npm ERR!   node_modules/@angular-devkit/build-ng-packagr
npm ERR!     dev @angular-devkit/build-ng-packagr@"~0.1002.1" from the root project

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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