You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using angular-cli and running ng build --prod will give error:
ERROR in Internal error: unknown identifier {}
ERROR in ./src/main.ts
Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in '/home/usr/Projects/mangol/src'
@ ./src/main.ts 5:0-81
@ multi ./src/main.ts
It doesn't happen with ng build --aot=false --prod
Any solutions?
The text was updated successfully, but these errors were encountered:
@NoCodeNoMore I upgraded Mangol to the latest dependencies whenever possible (Angular 4.2.5, Angular-cli 1.2.0). Then I created a new angular-cli project, added Mangol as described in the Readme, and the aot production building now works fine for me.
Hi!
Using angular-cli and running ng build --prod will give error:
ERROR in Internal error: unknown identifier {}
ERROR in ./src/main.ts
Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in '/home/usr/Projects/mangol/src'
@ ./src/main.ts 5:0-81
@ multi ./src/main.ts
It doesn't happen with ng build --aot=false --prod
Any solutions?
The text was updated successfully, but these errors were encountered: