Ionic 5 with Angular 9 - Angular JIT compilation failed: '@angular/compiler' not loaded

前端 未结 7 1303
礼貌的吻别
礼貌的吻别 2020-12-15 16:36

Ionic 5 was announced a few hours ago (12th Feb 2020) and I upgraded my one of the small production app to Ionic 5 along with Angular 9:



        
7条回答
  •  感动是毒
    2020-12-15 16:58

    Try ng serve --aot, it helped me fix the problem, that's if you want to run with aot which is recommended since it will be similar to the production build and it will help you catch errors sooner.

    Hope this helps.

    Angular Link: https://angular.io/guide/aot-compiler

提交回复
热议问题