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

Angular 10 #69

Open
Chreggii opened this issue Oct 13, 2020 · 3 comments
Open

Angular 10 #69

Chreggii opened this issue Oct 13, 2020 · 3 comments

Comments

@Chreggii
Copy link

Would it be possible to bump angular to version 10?

@krupnik-m
Copy link

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: winafar@11.0.0 npm ERR! Found: @angular/common@11.1.0 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 ngx-pinch-zoom@2.5.4 npm ERR! node_modules/ngx-pinch-zoom npm ERR! ngx-pinch-zoom@"*" from the root project

@turbolego
Copy link

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: frontend@0.0.0
npm ERR! Found: @angular/common@11.0.2
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 ngx-pinch-zoom@2.5.5
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. 🎉

@Pastb3942
Copy link

idk

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

4 participants