The template specified for component AppComponent is not a string - Angular 7-8
问题 disclaimer: Yes, I saw that there are more "The template specified for component AppComponent is not a string" related questions but none of them describes the specific problem I'm experiencing. I get this runtime error when I compile without AoT in ng build : Uncaught Error: The template specified for component AppComponent is not a string This error actually make sense because in the generated bundled code (main.ts) I see: template: __webpack_require__(/*! raw-loader!./app.component.html */