Open DBuit opened 7 years ago
Also seeing this
Same error!
Same error =(
Apparently ChartModule is not aot compatible. Depending what it is (angular2-highcharts?) then it is known by the author and there seems to be a work around available here), but it is not going to be pretty..
Hello,
I used to have the same issue but the issue in my code was the orders import. Example: before:
import { LineChartComponent } from './CommonComponents/LineChart/linechart.component';
import { ChartModule } from 'angular2-highcharts';
now:
import { ChartModule } from 'angular2-highcharts';
import { LineChartComponent } from './CommonComponents/LineChart/linechart.component';
linechart.component its my component template that inside has a linechart highcharts component, then when I try to use it I got this error. after changes the lines order imports it works normally
Hello,
I merged my angular2 project to angular-cli so i could use build functions and aot rendering. At the moment i cant build my project because i'm getting the following error: Calling function 'ChartModule', function calls are not supported.
Full error:
I can use ng serve, but it also fails with the same error but just not always.
Someone can help me? Im using version 2.0.3 and angular 2.4.1
Thank you!