AOT compilation fails, unexpected value 'null' in AppModule

Viewed 995

I'm trying to get the AOT compilation in angular working, but I'm getting this error:

Unexpected value 'null' declared by the module 'AppModule

I am importing PrimeNg modules , AGgrid an ng2-adal. I have changed the ng2-adal export, so that it is explicit, but I can't find any other potential causes for this error. Question: Does anybody know what the real error is? If not, is it possible to get the ngc compiler to emit more verbose information?.

1 Answers
Related