I am using Highcharts and Kendo Charts in my angular 2 app, When I try to run through AOT compilation, it throws Errors like
Cannot Import Module
or
HomeModule' is not exported by
or
Cannot Determine Module ..
I came to know that I should import .metadata.json file for all the third party files.
How to create them? or where to find them? or If no such file is present for any third party library what to do?
Per @angular issue comment:
If the 3rd party dependency you want to use doesn't ship with
metadata.json
files, you can try building it withngc
yourself, but doing so may not be simple.ngc
may fail with errors whentsc
doesn't, perhaps because the code is not statically analyzable.