ionic-team / ionic-framework

A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
https://ionicframework.com
MIT License
50.8k stars 13.51k forks source link

bug: JIT Compiler Unavailable after upgrading to Ionic 6 and Angular 13 #24677

Closed itsLucario closed 2 years ago

itsLucario commented 2 years ago

Prerequisites

Ionic Framework Version

Current Behavior

Similar error is also reported in other forums: https://github.com/admob-plus/admob-plus/issues/421

Looks like issue with plugins not using ivy or something.

This is the error I'm getting: image

Package JSON

"dependencies": {
    "@admob-plus/ionic": "^1.5.3",
    "@angular/cli": "^13.2.0",
    "@angular/common": "^13.2.0",
    "@angular/core": "13.2.0",
    "@angular/fire": "^6.1.4",
    "@angular/forms": "^13.2.0",
    "@angular/platform-browser": "^13.2.0",
    "@angular/platform-browser-dynamic": "^13.2.0",
    "@angular/router": "^13.2.0",
    "@ckeditor/ckeditor5-angular": "^2.0.2",
    "@ckeditor/ckeditor5-build-balloon-block": "^29.2.0",
    "@ionic-native/app-minimize": "^5.36.0",
    "@ionic-native/app-version": "^5.36.0",
    "@ionic-native/browser-tab": "^5.36.0",
    "@ionic-native/core": "^5.36.0",
    "@ionic-native/deeplinks": "^5.36.0",
    "@ionic-native/document-viewer": "^5.36.0",
    "@ionic-native/email-composer": "^5.36.0",
    "@ionic-native/file": "^5.36.0",
    "@ionic-native/file-opener": "^5.36.0",
    "@ionic-native/file-transfer": "^5.36.0",
    "@ionic-native/firebase-analytics": "^5.36.0",
    "@ionic-native/firebase-authentication": "^5.36.0",
    "@ionic-native/firebase-dynamic-links": "^5.36.0",
    "@ionic-native/google-plus": "^5.36.0",
    "@ionic-native/http": "^5.36.0",
    "@ionic-native/in-app-browser": "^5.36.0",
    "@ionic-native/in-app-update": "^5.36.0",
    "@ionic-native/launch-review": "^5.36.0",
    "@ionic-native/local-notifications": "^5.36.0",
    "@ionic-native/network-interface": "^5.36.0",
    "@ionic-native/play-install-referrer": "^5.36.0",
    "@ionic-native/social-sharing": "^5.36.0",
    "@ionic-native/spinner-dialog": "^5.36.0",
    "@ionic-native/splash-screen": "^5.36.0",
    "@ionic-native/sqlite": "^5.36.0",
    "@ionic-native/status-bar": "^5.36.0",
    "@ionic-native/themeable-browser": "^5.36.0",
    "@ionic-native/toast": "^5.36.0",
    "@ionic-native/uid": "^5.36.0",
    "@ionic/angular": "^6.0.4",
    "@ionic/core": "^6.0.4",
    "@ionic/storage": "^2.3.1",
    "@types/hammerjs": "^2.0.41",
    "@types/jspdf": "^1.3.3",
    "chart.js": "^2.9.3",
    "cordova-launch-review": "^4.0.1",
    "cordova-plugin-androidx": "^3.0.0",
    "cordova-plugin-androidx-adapter": "^1.1.3",
    "cordova-plugin-app-version": "^0.1.12",
    "cordova-plugin-device": "^2.0.3",
    "cordova-plugin-email-composer": "^0.9.2",
    "cordova-plugin-file": "^6.0.2",
    "cordova-plugin-file-opener2": "^3.0.5",
    "cordova-plugin-file-transfer": "^1.7.1",
    "cordova-plugin-firebase-analytics": "^4.5.0",
    "cordova-plugin-firebase-authentication": "^3.6.0",
    "cordova-plugin-googleplus": "^8.5.2",
    "cordova-plugin-inappbrowser": "^3.2.0",
    "cordova-plugin-ionic-keyboard": "^2.2.0",
    "cordova-plugin-ionic-webview": "^5.0.0",
    "cordova-plugin-native-spinner": "^1.1.3",
    "cordova-plugin-networkinterface": "^2.2.0",
    "cordova-plugin-splashscreen": "^6.0.0",
    "cordova-plugin-statusbar": "^2.4.3",
    "cordova-plugin-whitelist": "^1.3.5",
    "cordova-plugin-x-socialsharing": "^5.6.8",
    "cordova-plugin-x-toast": "^2.7.3",
    "cordova-support-android-plugin": "^1.0.2",
    "cordova-support-google-services": "^1.4.1",
    "core-js": "^3.20.3",
    "dom-to-image-more": "^2.9.5",
    "es6-promise-plugin": "^4.2.2",
    "firebase": "^7.24.0",
    "globalthis": "^1.0.2",
    "hammerjs": "^2.0.8",
    "ion-bottom-sheet": "^2.0.6",
    "ion2-calendar": "git+https://github.com/shaneparsons/ion2-calendar.git",
    "ionic2-calendar": "^0.6.9",
    "ionicons": "^5.5.4",
    "jspdf": "^2.5.1",
    "moment": "^2.29.1",
    "ng2-charts": "^2.4.3",
    "ngx-cacheable": "^1.4.3",
    "ngx-ionic-image-viewer": "^0.7.5",
    "ngx-socket-io": "^3.4.0",
    "onesignal-cordova-plugin": "^3.0.1",
    "promise-polyfill": "^8.2.1",
    "rxjs": "^6.6.7",
    "socket.io-client": "^2.4.0",
    "swiper": "^6.8.4",
    "ts-custom-error": "^3.2.0",
    "ts-mixer": "^5.4.1",
    "zone.js": "~0.11.4"
  },
  "devDependencies": {
    "@angular-devkit/architect": "^0.1302.0",
    "@angular-devkit/build-angular": "^13.2.0",
    "@angular-devkit/core": "^13.2.0",
    "@angular-devkit/schematics": "^13.2.0",
    "@angular/compiler": "^13.2.0",
    "@angular/compiler-cli": "^13.2.0",
    "@angular/language-service": "^13.2.0",
    "@ionic/angular-toolkit": "^3.1.1",
    "@lucario/cordova-in-app-update": "^1.1.2",
    "@lucario/cordova-plugin-browsertab": "git+https://github.com/itsLucario/cordova-plugin-browsertab.git",
    "@types/jasmine": "~3.6.0",
    "@types/jasminewd2": "^2.0.10",
    "@types/node": "^14.18.9",
    "admob-plus-cordova": "^1.25.0",
    "codelyzer": "^6.0.0",
    "cordova-android": "^9.1.0",
    "cordova-plugin-advanced-http": "^3.2.2",
    "cordova-plugin-appminimize": "^1.0.1",
    "cordova-plugin-badge": "^0.8.8",
    "cordova-plugin-local-notification": "^0.9.0-beta.2",
    "cordova-plugin-play-installreferrer": "^1.0.1",
    "cordova-sqlite-storage": "^6.0.0",
    "firefly-cordova-plugin-themeablebrowser": "git+https://github.com/grexican/cordova-plugin-themeablebrowser.git#patches",
    "ionic-plugin-deeplinks": "^1.0.24",
    "jasmine-core": "~3.6.0",
    "jasmine-spec-reporter": "~5.0.0",
    "karma": "^6.3.12",
    "karma-chrome-launcher": "~3.1.0",
    "karma-coverage-istanbul-reporter": "^3.0.3",
    "karma-jasmine": "~4.0.0",
    "karma-jasmine-html-reporter": "^1.7.0",
    "protractor": "^7.0.0",
    "sass": "^1.49.0",
    "ts-node": "^9.1.1",
    "tslint": "^6.1.3",
    "typescript": "^4.5.5"
  },

Expected Behavior

Should have run without any issues after the upgrade.

Steps to Reproduce

Not known yet. Only observed in my project. Another incident for reference https://github.com/admob-plus/admob-plus/issues/421

Code Reproduction URL

No response

Ionic Info

Ionic: Ionic CLI : 6.18.1 (C:\Users\Lucario\AppData\Roaming\npm\node_modules\@ionic\cli) Ionic Framework : @ionic/angular 6.0.4 @angular-devkit/build-angular : 13.2.0 @angular-devkit/schematics : 13.2.0 @angular/cli : 13.2.0 @ionic/angular-toolkit : 3.1.1

Cordova:

Cordova CLI : 10.0.0 Cordova Platforms : not available Cordova Plugins : not available Utility:

cordova-res : not installed globally native-run : 1.4.0

System: NodeJS : v14.17.3 (C:\Program Files\nodejs\node.exe) npm : 6.14.13 OS : Windows 10

Additional Information

No response

ionitron-bot[bot] commented 2 years ago

Thanks for the issue! This issue has been labeled as needs reproduction. This label is added to issues that need a code reproduction.

Please reproduce this issue in an Ionic starter application and provide a way for us to access it (GitHub repo, StackBlitz, etc). Without a reliable code reproduction, it is unlikely we will be able to resolve the issue, leading to it being closed.

If you have already provided a code snippet and are seeing this message, it is likely that the code snippet was not enough for our team to reproduce the issue.

For a guide on how to create a good reproduction, see our Contributing Guide.

itsLucario commented 2 years ago

Issue was with plugin. Closing the issue

ionitron-bot[bot] commented 2 years ago

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.