Stabzs / Angular2-Toaster

Angular2-toaster is an asynchronous, non-blocking Angular Toaster Notification library
MIT License
335 stars 95 forks source link

Angular v14 support #275

Open hpardess opened 9 months ago

hpardess commented 9 months ago

I tried to upgrade to angular v14.2.0 but it failed

$ npm i angular2-toaster
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: client@0.0.0
npm ERR! Found: @angular/common@14.3.0
npm ERR! node_modules/@angular/common
npm ERR!   @angular/common@"^14.2.0" from the root project
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!   angular2-toaster@"*" 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! 
npm ERR! For a full report see:
hpardess commented 9 months ago

It could install with following command

npm i angular2-toaster --legacy-peer-deps

kushal-novopay commented 7 months ago

@hpardess but does it work?