ngx-lazy-load-images
ngx-lazy-load-images copied to clipboard
Package "ngx-lazy-load-images" has an incompatible peer dependency to "@angular/"
I have project using Angular 10 with ngx-lazy-load-images: 2.0.0. When I upgrade a project from Angular 10 to Angular 11 I get this warning:
Package "ngx-lazy-load-images" has an incompatible peer dependency to "@angular/common" (requires "^9.1.4" (extended), would install "11.2.7"). Package "ngx-lazy-load-images" has an incompatible peer dependency to "@angular/core" (requires "^9.1.4" (extended), would install "11.2.7").
I can upgrade with the '--force' option, but will these warnings affect the app in the future?
In Angular 11 I have another error:
Error: node_modules/ngx-lazy-load-images/lib/ngx-lazy-load-images.module.d.ts:1:22 - error NG6002: Appears in the NgModule.imports of PagedListModule, but could not be resolved to an NgModule class.
This likely means that the library (ngx-lazy-load-images) which declares LazyLoadImagesModule 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.
Let me check out those errors today. I'll have them fixed as soon as possible.
Is the issue resolved?
any solution for this problem?
@jesusbotella are you still there? You've left this project untouched for so long
Will be pushing an update for Angular 15 to a new package. Open to collaborators to upkeep the project 🙏🏼
@afifalfiano @rajashekarb-dev @dulikmixail Angular 15 support @doughlass/ngx-lazy-load-images.
Clean fork of this project, updated dependancies. Still works the exact same way as before.