angular2-notifications icon indicating copy to clipboard operation
angular2-notifications copied to clipboard

Notification is not working in Angular 9

Open ManikantaNani opened this issue 5 years ago • 1 comments

Hi, I am facing an issue running this library in Angular 9. Please, find the below error

ERROR in node_modules/angular2-notifications/lib/simple-notifications.module.d.ts:5:22 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class.

This likely means that the library (angular2-notifications) which declares SimpleNotificationsModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.

export declare class SimpleNotificationsModule { ~~~~~~~~~~~~~~~~~~~~~~~~~

Can anyone help to solve this issue

ManikantaNani avatar Jun 03 '20 08:06 ManikantaNani

Hi @ManikantaNani thank you for reporting this issue, I had this error before migrating the library to v9.0.0. Can you confirm that you use the latest version? If so, can you paste your package.json so I can try to reproduce your issue in the same conditions?

Guerric-P avatar Jun 03 '20 13:06 Guerric-P