kolkov / ngx-gallery

A simple responsive native gallery component for Angular 8+.
https://ngx-gallery.kolkov.ru/
MIT License
115 stars 56 forks source link

ERROR in node_modules/@kolkov/ngx-gallery/lib/ngx-gallery.module.d.ts:5:22 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class. #58

Open almersawi opened 3 years ago

almersawi commented 3 years ago

Hi, Thank you very much for your effort.

I'm facing this error while compiling my Angular project. I'm using ngx-gallery@1.2.0 and Angular 9

More details: This likely means that the library (@kolkov/ngx-gallery) which declares NgxGalleryModule 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

rayaffas commented 3 years ago

I was getting the same error and solved it by restarting the server.

Shahrukhjethra commented 2 years ago

I am facing same issue with angular 9+

This likely means that the library (ngx-gallery) which declares NgxGalleryModule 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.