-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Unexpected value 'ChartModule' imported by the module 'AppModule' #75
Comments
BTW,
|
Works fine:
|
hm. Are you using this with Ionic 2? |
no, default angular2. |
ok, then I think there is something that doesn't play nicely with the current Ionic 2 release candidate. It has its own build and watch scripts under |
This happens when using AoT compilation in Angular 2. When I try to run ngc, it errors out as following:
I believe it has resemblance to the issue #70 the metadata.json files are missing from the library which are required by ngc. Can those missing files be added soon? |
Sure, but i realy don't how they should looks like or how they will be generated. |
every core angular package has an index.metadata.json file which is utilized by ngc during compilation. If you reference to this issue angular/angular#11262 They say that these metadata files are auto-generated by ngc. |
@Sukh9212 yea it does PR is on the way |
I am using
angular2-highcharts
with Ionic 2 RC.0. But I am getting the following error:I am using it like this:
Error happens when I do
npm run build
. Any ideas?The text was updated successfully, but these errors were encountered: