Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular Js errors while installing it locally #635

Open
Himkar opened this issue Jun 28, 2023 · 1 comment
Open

Angular Js errors while installing it locally #635

Himkar opened this issue Jun 28, 2023 · 1 comment

Comments

@Himkar
Copy link

Himkar commented Jun 28, 2023

frontend % npm install
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
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!

@osontungo
Copy link

me too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants