We're getting strange error while trying to migrate our project to Angular 5 + Webpack 4:
ERROR in Internal Error: The structure of the program changed during codegen
Seems it occures inside Angular compiler. Does anyone have any experience with it?
Okay, in my case it was solved by upgrading dependency:
"@angular-devkit/core": "0.4.2"
--> "@angular-devkit/core": "0.5.5"