ngx-gallery icon indicating copy to clipboard operation
ngx-gallery copied to clipboard

Updating to Angular 15 - Peer dependencies cannot resolve

Open malek-itani opened this issue 2 years ago • 4 comments

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/[email protected]
npm ERR! Found: @angular/[email protected]
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/[email protected]
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/animations@">=13.0.0 <14" from @kolkov/[email protected]
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/[email protected]
npm ERR! node_modules/@angular/animations
npm ERR!   peer @angular/animations@">=13.0.0 <14" from @kolkov/[email protected]
npm ERR!   node_modules/@kolkov/ngx-gallery
npm ERR!     dev @kolkov/ngx-gallery@"^2.0.1" from the root project

malek-itani avatar May 02 '23 15:05 malek-itani

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

andrejm7 avatar May 03 '23 02:05 andrejm7

@kolkov Any plans to angular 15 upgrade soon ?

neeraj-vts avatar Jul 25 '23 07:07 neeraj-vts

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

rwahdan1978 avatar Feb 29 '24 17:02 rwahdan1978

Any update about this issue?

tushar33 avatar Mar 04 '24 14:03 tushar33