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 ng2-material-dropdown@0.11.0 peer dependency can't be resolved #995

Open
FaabLondon opened this issue Jun 4, 2021 · 2 comments

Comments

@FaabLondon
Copy link

I'm submitting a ... (check one with "x")

[x] bug report => search github for a similar issue or PR before submitting
[ ] support request/question

Notice: feature requests will be ignored, submit a PR if you'd like

Current behavior
I am currently using Angular 10 and when trying to install ngx-chips I am getting the following issue
Could not resolve dependency:
npm ERR! peer @angular/animations@"^8.0.0" from ng2-material-dropdown@0.11.0
npm ERR! node_modules/ngx-chips/node_modules/ng2-material-dropdown
npm ERR! ng2-material-dropdown@">=0.11.0" from ngx-chips@2.2.2
npm ERR! node_modules/ngx-chips
npm ERR! ngx-chips@"2.2.2" from the root project

Expected behavior
Fix dependencies

Minimal reproduction of the problem with instructions (if applicable)
npm i ngx-chips

What do you use to build your app?. Please specify the version
angular-cli 9.1.0

Angular version:
10.2.5

ngx-chips version:
2.2.2

Browser:
all

@seohyun0120
Copy link

Hi, I had a same problem. (Angular v6.x, ngx-chips v2.2.2, npm v7.19.x)
If you're using npm v7.x, trynpm install ngx-chips --legacy-peer-deps.
source: npm blog ➡️ Check peer dependencies.
Hope this helps.

@davutg
Copy link

davutg commented Aug 6, 2021

I used this lib in Ng6, upgraded the project to 7/8 without an issue related to this. While jumping to 9 I started getting errors because underlying Renderer2 (Angular Ivy), ngcc new generation compiler caused an incompatibility issue. Same happened for ngx-popover.

#911
#911 (comment)

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

3 participants