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.

Can't resolve all parameters for ScrollbarHelper errror in ngx-datatable with Angular v8.0.0-rc.0 and above

See original GitHub issue

I’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:closed
  • Created 4 years ago
  • Reactions:9
  • Comments:20 (1 by maintainers)

github_iconTop GitHub Comments

12reactions
bleuscythercommented, May 29, 2019

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

9reactions
marjan-georgievcommented, May 29, 2019

Released 15.0.0. Please verify.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Updating to Angular 8: "Uncaught Error: Can't resolve all ...
In Angular 8 I changed dependencies in package.json to "@swimlane/ngx-datatable": "^15.0.0" then run npm install.
Read more >
Can't resolve all parameters for ScrollbarHelper errror in ngx ...
Can't resolve all parameters for ScrollbarHelper errror in ngx-datatable with Angular v8.0.0-rc.0 and above.
Read more >
Changelog - ngx-datatable - GitBook
Bug : Fix disappearing rows with vertical scrollbar, virtual scrolling ... Breaking: the release files are not under the /release folder any more....
Read more >
ngx-scrollbar - npm
Start using ngx-scrollbar in your project by running `npm i ngx-scrollbar`. There are 24 other projects in the npm registry using ngx-scrollbar.
Read more >
Fixing the “can't resolve all parameters” exception with ...
The (?) indicates that Angular couldn't resolve the second parameter of the constructor: ...
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