Skip to content

Runtime Error - Ionic 5 + Capacitor #296

Description

@madmacc

I can build it with 7.0.0-beta-2 however It has this error when serving or running on device.

Uncaught TypeError: Cannot read property 'id' of undefined
at registerNgModuleType (/vendor-es2015.js:81976)
at /vendor-es2015.js:81987
at Array.forEach ()
at registerNgModuleType (/vendor-es2015.js:81987)
at new NgModuleFactory$1 (/vendor-es2015.js:82084)
at compileNgModuleFactory__POST_R3__ (/vendor-es2015.js:85628)
at PlatformRef.bootstrapModule (/vendor-es2015.js:85866)
at Module../src/main.ts (/main-es2015.js:3464)
at webpack_require (/runtime-es2015.js:85)
at Object.0 (/main-es2015.js:3477)

"@angular/cdk": "^10.2.7",
"@angular/common": "~10.0.0",
"@angular/core": "~10.0.0",
"@angular/forms": "~10.0.0",
"@angular/http": "^7.2.16",
"@angular/platform-browser": "^10.2.4",
"@angular/platform-browser-dynamic": "^10.2.4",
"@angular/router": "~10.0.0",
"@capacitor/android": "^2.4.6",
"@capacitor/core": "2.4.2",
"@capacitor/ios": "^2.4.6",
"@ionic-native/core": "^5.31.1",
"@ionic-native/file": "^5.36.0",
"@ionic-native/ionic-webview": "^5.12.0",
"@ionic/angular": "^5.5.3",
"@ionic/storage-angular": "^3.0.6",

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions