ngx-virtual-scroller icon indicating copy to clipboard operation
ngx-virtual-scroller copied to clipboard

Support for Angular v10

Open alexbjorlig opened this issue 5 years ago • 9 comments

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

npm WARN [email protected] 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.

alexbjorlig avatar Jun 28 '20 20:06 alexbjorlig

+1

stjimmy54 avatar Aug 03 '20 11:08 stjimmy54

I don't know if anyone else is having this problem but when i try to use ngx-virtual-scroller on a Angular 10 project it gives me a null pointer exception on "options.checkResizeInterval".

Let me know if you need more info to debug this problem.

danisss9 avatar Nov 20 '20 17:11 danisss9

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: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/tslib
npm ERR!   tslib@"^2.0.0" from the root project
npm ERR!   tslib@"^2.0.0" from @angular/[email protected]
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 [email protected]
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 [email protected]
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.

seanwu1105 avatar Mar 28 '21 17:03 seanwu1105

Support for Angular v10 and V11 please

jneves92 avatar May 05 '21 13:05 jneves92

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

lincolnthree avatar May 05 '21 15:05 lincolnthree

@lincolnthree which code are you referring to? I want to upgrade to V11. Could you please help what exactly I should follow.

Thanks in advance!

sachi097 avatar Jun 01 '21 18:06 sachi097

Any update about angular version 14 I am facing the same issue.

ask-khan avatar Dec 14 '22 07:12 ask-khan

Same here with angular v13

Naikno avatar Apr 26 '23 13:04 Naikno