Description
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