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

前端 未结 7 1282
礼貌的吻别
礼貌的吻别 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条回答
  •  萌比男神i
    2020-12-15 17:01

    Tried several ways, including npm update, with no success. The only way I could get Ionic 5 with Angular 9 to work in production mode, was setting "aot": false and "buildOptimizer": false in angular.json.

提交回复
热议问题