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.

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 After upgrading to angular 5 and also after updating version to ^11.0.0 i am getting below run time error when i try with ng serve -aot, with ng serve it is working fine as expected

webpack-internal:///…/…/…/core/esm5/core.js:1546 ERROR Error: Uncaught (in promise): TypeError: Cannot read property ‘subscribe’ of undefined TypeError: Cannot read property ‘subscribe’ of undefined

Expected behavior It should work without any error

Reproduction of the problem update angular version to 5 and ngx-datatable version to 11.0.0 and run the angular project with ng serve -aot command.

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

Windows 7 visual studio code

  • Table version: 0.8.x 11.0.0

  • Angular version: 2.0.x 5.0

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ] Chrome latest

  • Language: [all | TypeScript X.X | ES6/7 | ES5] typescript 2.4.0

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:19
  • Comments:49 (17 by maintainers)

github_iconTop GitHub Comments

15reactions
amcdnlcommented, Nov 14, 2017

Please try 11.0.4

11reactions
nitinht1988commented, Nov 8, 2017

@amcdnl @solnat import {NgxDatatableModule} from ‘@swimlane/ngx-datatable/src’ works only with AoT. in normal build it gives error. And import {NgxDatatableModule} from ‘@swimlane/ngx-datatable’ works only in normal build, with AOT it gives error.

I am using 11.0.3.

Any solution?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues with angular 5 #20420 - GitHub
There's nothing to do with Angular, it's an Angular CLI issue. All reactions.
Read more >
Currently angular 5 is giving me different problems in firefox ...
Updated angular cli, nodejs to latest but still getting following errors. And again I'm confused with errors that is different in firefox and ......
Read more >
Angular 5 Tutorial: Guide to Your First Angular 5 App - Toptal
The problem is that our new component isn't doing anything. Let's make it work—let's start by adding a variable that will hold our...
Read more >
Data rendering issue in angular 5 - CodeProject
I have data in array but its taking time to render in HTML. 1 solution.
Read more >
Browser support - Angular
Angular is built on the latest standards of the web platform. Targeting such a wide range of browsers is challenging because they do...
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