ngx-pinch-zoom
ngx-pinch-zoom copied to clipboard
Angular 10
Would it be possible to bump angular to version 10?
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
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. 🎉
idk