Support for Angular v10
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.
+1
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.
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.
Support for Angular v10 and V11 please
@jneves92 Just copy the code into your project. Seems like this repo is dead.
@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!
Any update about angular version 14 I am facing the same issue.
Same here with angular v13