ngx-pinch-zoom icon indicating copy to clipboard operation
ngx-pinch-zoom copied to clipboard

Angular 10

Open Chreggii opened this issue 4 years ago • 3 comments

Would it be possible to bump angular to version 10?

Chreggii avatar Oct 13 '20 07:10 Chreggii

I can't install it for Angular 11 Also :(

npm i ngx-pinch-zoom --save npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: @angular/[email protected] npm ERR! node_modules/@angular/common npm ERR! @angular/common@"~11.1.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @angular/common@"^10.0.3" from [email protected] npm ERR! node_modules/ngx-pinch-zoom npm ERR! ngx-pinch-zoom@"*" from the root project

krupnik-m avatar Jan 21 '21 12:01 krupnik-m

tl;dr: npm install --legacy-peer-deps

I have the following version in package.json:

"dependencies": {
"ngx-pinch-zoom": "^2.5.5",

I have this error when using npm install

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: @angular/[email protected]
npm ERR! node_modules/@angular/common
npm ERR!   @angular/common@"11.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^11.1.2" from [email protected]
npm ERR! node_modules/ngx-pinch-zoom
npm ERR!   ngx-pinch-zoom@"^2.5.5" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!

I was able to install by using npm install --legacy-peer-deps instead. 🎉

turbolego avatar May 05 '21 14:05 turbolego

idk

Pastb3942 avatar May 24 '23 04:05 Pastb3942