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

Unable to resolve dependency tree (i'm using Angular 11.x) #86

Closed
gkimpson opened this issue Sep 3, 2021 · 1 comment
Closed

Unable to resolve dependency tree (i'm using Angular 11.x) #86

gkimpson opened this issue Sep 3, 2021 · 1 comment

Comments

@gkimpson
Copy link

gkimpson commented Sep 3, 2021

I am running the command npm install ngx-masonry masonry-layout --save to install this but after the short period of time I get the following error in the terminal. Does this work with Angular 11.x ok - or am I doing something wrong (which I presume is the most likely case)?

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.8" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @angular/common@"^12.0.0" from [email protected]

@wynfred
Copy link
Owner

wynfred commented Sep 3, 2021

You can just use v11.x of the library. Change it in your package.json.

@wynfred wynfred closed this as completed Sep 3, 2021
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

2 participants