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.

Support for Angular v10

See original GitHub issue

When using the project with Angular 10, I get the following warning:

npm WARN ngx-virtual-scroller@4.0.3 requires a peer of tslib@^1.10.0 but none is installed. You must install peer dependencies yourself.

Angular v10 updates tslib to version 2, hence the warning.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:42
  • Comments:7

github_iconTop GitHub Comments

5reactions
lincolnthreecommented, May 5, 2021

@jneves92 Just copy the code into your project. Seems like this repo is dead.

4reactions
seanwu1105commented, Mar 28, 2021

This would be really helpful especially with NPM v7 or later as it requires compatible peer deps.

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: my-project@1.0.0
npm ERR! Found: tslib@2.1.0
npm ERR! node_modules/tslib
npm ERR!   tslib@"^2.0.0" from the root project
npm ERR!   tslib@"^2.0.0" from @angular/core@11.2.7
npm ERR!   node_modules/@angular/core
npm ERR!     @angular/core@"~11.2.5" from the root project
npm ERR!     peer @angular/core@">=6.0.0" from ngx-virtual-scroller@4.0.3
npm ERR!     node_modules/ngx-virtual-scroller
npm ERR!       ngx-virtual-scroller@"*" from the root project
npm ERR!   1 more (zone.js)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer tslib@"^1.10.0" from ngx-virtual-scroller@4.0.3
npm ERR! node_modules/ngx-virtual-scroller
npm ERR!   ngx-virtual-scroller@"*" 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 /home/user/.npm/eresolve-report.txt for a full report.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular versioning and releases
Contains new smaller features. Minor releases are fully backward-compatible; no developer assistance is expected during update, but you can optionally modify ...
Read more >
Angular - endoflife.date
Release Released Active Support 15 1 month and 1 week ago. (16 Nov 2022) Ends in 4 months and 3 weeks. (18 M... 14 (...
Read more >
Angular v10 released! - This Dot Labs
Angular Package Format no longer includes ESM5 or FESM5 bundles. It saves a lot of download and installation time. Those bundles are no...
Read more >
Support Angular v10 · Issue #781 · just-jeb/angular-builders
After migrating to Angular v10: warning "@angular-builders/custom-webpack > @angular-devkit/build-angular@0.901.1" has incorrect peer ...
Read more >
Angular Data Grid: Version Compatibility
In v29 (release date TBC) the minimum Angular version will be v10. In v30 (release date TBC) the minimum Angular version will be...
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