deso-protocol / frontend

DeSo frontend
MIT License
267 stars 135 forks source link

Error in fresh npm install #615

Open pinkpanthero opened 2 years ago

pinkpanthero commented 2 years ago

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