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

Updating to Angular 15 - Peer dependencies cannot resolve #116

Open malek-itani opened 1 year ago

malek-itani commented 1 year ago

Any plan to upgrade the library to Angular 15?

I'm trying to upgrade my app to Angular 15 and found the following issue when installing this library.

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @kolkov/ngx-gallery@2.0.1
npm ERR! Found: @angular/animations@15.0.1
npm ERR! node_modules/@angular/animations
npm ERR!   @angular/animations@"15.0.1" from the root project
npm ERR!   peer @angular/animations@"^15.0.0 || ^16.0.0" from @angular/material@15.0.0
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/animations@">=13.0.0 <14" from @kolkov/ngx-gallery@2.0.1
npm ERR! node_modules/@kolkov/ngx-gallery
npm ERR!   dev @kolkov/ngx-gallery@"^2.0.1" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: @angular/animations@13.4.0
npm ERR! node_modules/@angular/animations
npm ERR!   peer @angular/animations@">=13.0.0 <14" from @kolkov/ngx-gallery@2.0.1
npm ERR!   node_modules/@kolkov/ngx-gallery
npm ERR!     dev @kolkov/ngx-gallery@"^2.0.1" from the root project
andrejm7 commented 1 year ago

me too...to work need to run npm install --legacy-peer-deps

neeraj-vts commented 11 months ago

@kolkov Any plans to angular 15 upgrade soon ?

rwahdan1978 commented 4 months ago

Have the same issue. If I run with --legacy-peer-deps it is giving more errors!

tushar33 commented 3 months ago

Any update about this issue?