Can't resolve all parameters for ScrollbarHelper errror in ngx-datatable with Angular v8.0.0-rc.0 and above
See original GitHub issueI’m submitting a … (check one with “x”)
[ x] bug report => search github for a similar issue or PR before submitting
[ ] feature request[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter
Current behavior Cannot launch ngx-datatable v14.0.0 with Angular v8.0.0-rc4. Get the following error:
ERROR Error: Uncaught (in promise): Error: Can’t resolve all parameters for ScrollbarHelper: (?). Error: Can’t resolve all parameters for ScrollbarHelper: (?).
Expected behavior ngx-datatable should render without the error
Reproduction of the problem https://stackblitz.com/edit/angular8-ngx-datatable
What is the motivation / use case for changing the behavior? ScrollbarHelper class imports DOCUMENT from @angular/platform-browser. This deprecated import has been removed from Angular in v8.0.0-rc.0. DOCUMENT should rather be imported from @angular/core. https://github.com/angular/angular/issues/28117
Please tell us about your environment: Windows 10, VSC, npm
-
Table version: 14.0.0
-
Angular version: ~8.0.0-rc4 (reproducible since ~8.0.0-rc.0)
-
Browser: All
-
Language: All
Issue Analytics
- State:
- Created 4 years ago
- Reactions:9
- Comments:20 (1 by maintainers)
Top GitHub Comments
There is a pull request on angular 8: https://github.com/swimlane/ngx-datatable/pull/1690
npm rm @swimlane/ngx-datatable
npm install git+https://github.com/zackarychapple/ngx-datatable.git
It seems to work fine for now with ng serve
Released 15.0.0. Please verify.