D
D
Delakey Blackhole2017-04-01 18:42:24
Angular
Delakey Blackhole, 2017-04-01 18:42:24

Angular2 "Unexpected value 'null' declared by the module" how to fix?

When compiling, it gives an error, how to fix it, I just don’t understand what it wants from me

[0] ERROR in Unexpected value 'null' declared by the module 'AppModule in D:/Source/Roulette/src/app/app.module.ts'
[0]
[0] ERROR in ./src/main.ts
[0] Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in 'D:\Source\Roulette\src'
[0]  @ ./src/main.ts 4:0-74

20170401-bopr-164kb.jpg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Negwereth, 2017-04-01
@Negwereth

Show the module code

O
ozknemoy, 2017-04-02
@ozknemoy

this is a compiler swearing at a (third party) module imported into the AppModule. I already gave up aot. he does not miss too much when compiling. in jit it all works without problems

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question