error AoT compilation with angular-cli Unexpected value 'Angular2DataTableModule' imported by the module
See original GitHub issueI tried ng build --prod --aot
I get:
0% compiling Unexpected value 'Angular2DataTableModule' imported by the module 'AppModule'
Maybe Angular2DataTableModule don’t include *.metadata.json for each of Angular files, @amcdnl ?
my question on stackoverflow: http://stackoverflow.com/questions/39867324/unexpected-value-x-imported-by-the-module-z-when-using-flag-aot/39868123#39868123
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Unexpected value X imported by the module Z when using flag
I suppose that MdlModule and Angular2DataTableModule are some ... of their Angular files, your AoT compilation cannot know what they do.
Read more >angular/angular-cli - Gitter
to <project-root>/src/typings.d.ts , but Aot still fails with. Error: Unexpected value 'Angular2DataTableModule' imported by the module 'TableModule'.
Read more >Angular compiler options
Like the TypeScript compiler, the Angular AOT compiler also supports extends in the ... to allow it to be imported from template factory...
Read more >Angular and AOT - CODE Magazine
There's executable JavaScript code that the Angular compiler must ... Uncaught Error: Unexpected value 'undefined' imported by module .
Read more >Creating Angular NPM packages with ng-packagr
ERROR in Error: Unexpected value 'SomeModuleName in . ... I wasn't generating appropriate metadata to be further used by the AOT compiler.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
AoT is on my list very soon. Sorry just been busy w/ external things. If someone wants to add this I will gladly accept a PR.
I’m happy to close this issue too.