flauc / angular2-notifications

A light and easy to use notifications library for Angular.
https://stackblitz.com/edit/angular2-notifications-example
MIT License
746 stars 163 forks source link

incompatible peer dependency to @angular/... - requires "^9.0.0" #386

Closed rallets closed 2 years ago

rallets commented 3 years ago

Hi, any chance to remove the dependency warnings for angular 12? I'm using the latest angular 12.2.6 and everything looks working fine.

dependencies: {
  [...]
  angular2-notifications 9.0.0
  [...]
}

These warnings require to use ag update --force because of

Package "angular2-notifications" has an incompatible peer dependency to "@angular/animations" (requires "^9.0.0" (extended), would install "12.2.7").
Package "angular2-notifications" has an incompatible peer dependency to "@angular/common" (requires "^9.0.0" (extended), would install "12.2.7").
Package "angular2-notifications" has an incompatible peer dependency to "@angular/core" (requires "^9.0.0" (extended), would install "12.2.7").
Package "angular2-notifications" has an incompatible peer dependency to "@angular/platform-browser" (requires "^9.0.0" (extended), would install "12.2.7").
Package "angular2-notifications" has an incompatible peer dependency to "@angular/platform-browser-dynamic" (requires "^9.0.0" (extended), would install "12.2.7").
× Migration failed: Incompatible peer dependencies found.
Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together.
You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later.
  See "C:\Users\...\AppData\Local\Temp\ng-m9794M\angular-errors.log" for further details.
pelord commented 2 years ago

https://github.com/flauc/angular2-notifications/issues/382

Guerric-P commented 2 years ago

closing as v12.0.0 has been released

rallets commented 2 years ago

tks @Guerric-P