Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

last git version cant be compiled #499

Open
Anagastes opened this issue Nov 11, 2022 · 1 comment
Open

last git version cant be compiled #499

Anagastes opened this issue Nov 11, 2022 · 1 comment

Comments

@Anagastes
Copy link

Latest version can no longer be built.

npm install
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: @angular-devkit/[email protected]
npm WARN Found: [email protected]
npm WARN node_modules/webpack-dev-server
npm WARN   dev webpack-dev-server@"^4.0.0" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer webpack-dev-server@"^3.1.4" from @angular-devkit/[email protected]
npm WARN node_modules/@angular-devkit/build-webpack
npm WARN   @angular-devkit/build-webpack@"0.1202.1" from @angular-devkit/[email protected]
npm WARN   node_modules/@angular-devkit/build-angular
npm WARN 
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/webpack-dev-server
npm WARN   peer webpack-dev-server@"^3.1.4" from @angular-devkit/[email protected]
npm WARN   node_modules/@angular-devkit/build-webpack
npm WARN     @angular-devkit/build-webpack@"0.1202.1" from @angular-devkit/[email protected]
npm WARN     node_modules/@angular-devkit/build-angular
npm notice 
npm notice New major version of npm available! 8.19.2 -> 9.1.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.1.1
npm notice Run npm install -g [email protected] to update!
npm notice 
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: @angular/[email protected]
npm ERR! node_modules/@angular/common
npm ERR!   @angular/common@"^12.2.2" from the root project
npm ERR!   peer @angular/common@"12.2.2" from @angular/[email protected]
npm ERR!   node_modules/@angular/forms
npm ERR!     @angular/forms@"^12.2.2" from the root project
npm ERR!     peer @angular/forms@">=9.0.0" from @ckeditor/[email protected]
npm ERR!     node_modules/@ckeditor/ckeditor5-angular
npm ERR!       dev @ckeditor/ckeditor5-angular@"^2.0.2" from the root project
npm ERR!     2 more (@ng-bootstrap/ng-bootstrap, ngx-ui-switch)
npm ERR!   8 more (@angular/platform-browser, ...)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^11.0.0" from [email protected]
npm ERR! node_modules/angular2-toaster
npm ERR!   dev angular2-toaster@"^11.0.1" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: @angular/[email protected]
npm ERR! node_modules/@angular/common
npm ERR!   peer @angular/common@"^11.0.0" from [email protected]
npm ERR!   node_modules/angular2-toaster
npm ERR!     dev angular2-toaster@"^11.0.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! See /home/XXX/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/XXX/.npm/_logs/2022-11-11T14_51_42_921Z-debug-0.log
@csett86
Copy link

csett86 commented Nov 12, 2022

It worked for me with

npm install --legacy-peer-deps

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

No branches or pull requests

2 participants