Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dulikmixail opened this issue Mar 31, 2021 · 7 comments

Comments

@dulikmixail
Copy link

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?

@davayd
Copy link

davayd commented Apr 19, 2021

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.

@jesusbotella
Copy link
Owner

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

@shekar-raja
Copy link

Is the issue resolved?

@afifalfiano
Copy link

any solution for this problem?

@doughlass
Copy link

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

@doughlass
Copy link

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

@doughlass
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants