ngx-lazy-load-images icon indicating copy to clipboard operation
ngx-lazy-load-images copied to clipboard

Package "ngx-lazy-load-images" has an incompatible peer dependency to "@angular/"

Open dulikmixail opened this issue 3 years ago • 7 comments

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?

dulikmixail avatar Mar 31 '21 04:03 dulikmixail

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.

davayd avatar Apr 19 '21 09:04 davayd

Let me check out those errors today. I'll have them fixed as soon as possible.

jesusbotella avatar Apr 19 '21 09:04 jesusbotella

Is the issue resolved?

shekar-raja avatar Jul 13 '21 04:07 shekar-raja

any solution for this problem?

afifalfiano avatar Aug 05 '21 09:08 afifalfiano

@jesusbotella are you still there? You've left this project untouched for so long

doughlass avatar Dec 10 '22 21:12 doughlass

Will be pushing an update for Angular 15 to a new package. Open to collaborators to upkeep the project 🙏🏼

doughlass avatar Dec 11 '22 14:12 doughlass

@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.

doughlass avatar Dec 11 '22 15:12 doughlass