question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error AoT compilation with angular-cli Unexpected value 'Angular2DataTableModule' imported by the module

See original GitHub issue

I 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:closed
  • Created 7 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
amcdnlcommented, Oct 26, 2016

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.

0reactions
elvisbegoviccommented, Nov 8, 2016

I’m happy to close this issue too.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found