Open FaabLondon opened 3 years ago
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.
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.
https://github.com/Gbuomprisco/ngx-chips/issues/911#issuecomment-640202660
I'm submitting a ... (check one with "x")
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