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

前端 未结 7 1304
礼貌的吻别
礼貌的吻别 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 17:09

    need to update ionic as well, it will work. For angular when update version it updates all dependent itself. But in ionic need to update manually.

    "@angular/common": "9.0.5",
        "@angular/core": "9.0.5",
        "@angular/forms": "9.0.5",
        "@angular/platform-browser": "9.0.5",
        "@angular/platform-browser-dynamic": "9.0.5",
        "@angular/router": "9.0.5",
        "@ckeditor/ckeditor5-angular": "1.2.2",
        "@ckeditor/ckeditor5-build-classic": "17.0.0",
        "@ionic-native/camera": "5.22.0",
        "@ionic-native/core": "5.22.0",
        "@ionic-native/crop": "5.22.0",
        "@ionic-native/device": "5.22.0",
        "@ionic-native/diagnostic": "5.22.0",
        "@ionic-native/document-viewer": "5.22.0",
        "@ionic-native/file": "5.22.0",
        "@ionic-native/file-opener": "5.22.0",
        "@ionic-native/file-path": "5.22.0",
        "@ionic-native/file-transfer": "5.22.0",
        "@ionic-native/fingerprint-aio": "5.22.0",
        "@ionic-native/image-picker": "5.22.0",
        "@ionic-native/in-app-browser": "5.22.0",
        "@ionic-native/network": "5.22.0",
        "@ionic-native/splash-screen": "5.22.0",
        "@ionic-native/status-bar": "5.22.0",
        "@ionic-native/toast": "5.22.0",
    

提交回复
热议问题