question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error installing in Angular 13.2 and 13.3

See original GitHub issue

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: my-app@0.0.0
npm ERR! Found: rxjs@7.5.5
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/common@13.2.7
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/ngx-datatable@20.0.0
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/ngx-datatable@20.0.0
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]

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:3
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
christophercrcommented, Sep 5, 2022

I’ve submitted this PR #2108, hopefully that will unblock us to move forward with Angular 13 + Ivy.

1reaction
ctuschcommented, Sep 19, 2022

Siemens maintains a fork with updated dependencies: siemens/ngx-datatable

Read more comments on GitHub >

github_iconTop Results From Across the Web

ERESOLVE Error when installing Angular Material
I'm currently creating a project with Angular 13, the Ionic CLI, and Angular Material. I have no problem adding @angular/material when I ...
Read more >
angular/core - npm
Angular - the core framework. Latest version: 15.0.4, last published: 11 days ago. Start using @angular/core in your project by running `npm ...
Read more >
Workspace npm dependencies - Angular
You can download and install these npm packages by using the npm CLI client, which is installed with and runs as a Node.js®...
Read more >
How To Update Angular CLI To Latest Version
Then install latest Angular CLI version using npm install -g @angular/cli@latest command. ... If you get any error try manual installation.
Read more >
Resolved: This version of CLI is compatible with Angular version
This error I found to be due to the difference in Angular CLI installed globally Vs local project workspace. This error is most...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found