swimlane / ngx-charts

:bar_chart: Declarative Charting Framework for Angular
https://swimlane.github.io/ngx-charts/
MIT License
4.29k stars 1.15k forks source link

ng serve --aot throws error when i use it as a local library in my project #1083

Open amrit-kumar opened 5 years ago

amrit-kumar commented 5 years ago

I'm submitting a ... (check one with "x")

Current behavior ng serve --aot throws error when i use ngx-charts as a local library in my project. Throws the error ERROR in : Unexpected value 'undefined' imported by the module 'ɵa in ngx-charts-lib.d.ts' However when i do ng build ngx-charts --prod then it works fine and creates the local dist folder. I am doing this on "@swimlane/ngx-charts": "^8.1.0".Seems like problem in ChartCommonModule.

Expected behavior

Reproduction of the problem

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

Please tell us about your environment:

superkrafnica commented 4 years ago

I am having the exact same issue on version 13.0.0. Any updates?