Open Anagastes opened 1 year ago
Latest version can no longer be built.
npm install npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: @angular-devkit/build-webpack@0.1202.1 npm WARN Found: webpack-dev-server@4.0.0 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/build-webpack@0.1202.1 npm WARN node_modules/@angular-devkit/build-webpack npm WARN @angular-devkit/build-webpack@"0.1202.1" from @angular-devkit/build-angular@12.2.1 npm WARN node_modules/@angular-devkit/build-angular npm WARN npm WARN Conflicting peer dependency: webpack-dev-server@3.11.3 npm WARN node_modules/webpack-dev-server npm WARN peer webpack-dev-server@"^3.1.4" from @angular-devkit/build-webpack@0.1202.1 npm WARN node_modules/@angular-devkit/build-webpack npm WARN @angular-devkit/build-webpack@"0.1202.1" from @angular-devkit/build-angular@12.2.1 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 npm@9.1.1 to update! npm notice npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: angular2-toaster@11.0.1 npm ERR! Found: @angular/common@12.2.2 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/forms@12.2.2 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/ckeditor5-angular@2.0.2 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 angular2-toaster@11.0.1 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/common@11.2.14 npm ERR! node_modules/@angular/common npm ERR! peer @angular/common@"^11.0.0" from angular2-toaster@11.0.1 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
It worked for me with
npm install --legacy-peer-deps
Latest version can no longer be built.