ngx-datatable
ngx-datatable copied to clipboard
Error installing in Angular 13.2 and 13.3
I'm submitting a ... (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[x] support request => Please do not submit support request here, post on Stackoverflow or Gitter
Current behavior Library not installing on Angular 13.2 and 13.3 versions using
npm install @swimlane/ngx-datatable --save
and produces the following error
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/rxjs
npm ERR! rxjs@"~7.5.0" from the root project
npm ERR! peer rxjs@"^6.5.3 || ^7.4.0" from @angular/[email protected]
npm ERR! node_modules/@angular/common
npm ERR! @angular/common@"~13.2.0" from the root project
npm ERR! peer @angular/common@">=11.0.2" from @swimlane/[email protected]
npm ERR! node_modules/@swimlane/ngx-datatable
npm ERR! @swimlane/ngx-datatable@"*" from the root project
npm ERR! 1 more (@angular/platform-browser)
npm ERR! 1 more (@angular/core)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer rxjs@"^6.6.3" from @swimlane/[email protected]
npm ERR! node_modules/@swimlane/ngx-datatable
npm ERR! @swimlane/ngx-datatable@"*" 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!
npm ERR! See /Users/user/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/user/.npm/_logs/2022-05-02T08_48_46_067Z-debug-0.log
Expected behavior Library should be installed without error
Reproduction of the problem
What is the motivation / use case for changing the behavior?
Heavily using ngx-datatable
in our project (Angular 8). Now upgrade to the latest update of Angular (Angular 13) but couldn't proceed due to the above error.
Please tell us about your environment: Node version: 16.14.0 OS: Mac
- Table version:
20.0.0
- Angular version:
Angular 13.2.0 and 13.3.0
- Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
- Language: [all | TypeScript X.X | ES6/7 | ES5]
for the moment try it with npm i --force
the dev dependencies are not updated from the dev. We are already waiting for months..
@SwissKerim Degrading rxjs
from 7 to 6 works for me.
@SwissKerim Degrading
rxjs
from 7 to 6 works for me.
oh well.. i got other dependencies for rxjs 7
Any update here? Having similar problem.
- https://www.npmjs.com/package/@boring.devs/ngx-datatable (Forked)
- stackblitz
Same in angular 14... Any updates change update is planed?
I've submitted this PR #2108, hopefully that will unblock us to move forward with Angular 13 + Ivy.
Siemens maintains a fork with updated dependencies: siemens/ngx-datatable