My project is encountering the following error when I try to run it:
Uncaught ReferenceError: __importDefault is not defined
at Module../src/app/app.component.ts (app.component.ts:9)
at __webpack_require__ (bootstrap:84)
at Module../src/app/app.module.ts (app.component.ts:12)
at __webpack_require__ (bootstrap:84)
at Module../src/main.ts (environment.ts:16)
at __webpack_require__ (bootstrap:84)
at Object.0 (main.ts:12)
at __webpack_require__ (bootstrap:84)
at checkDeferredModules (bootstrap:45)
at Array.webpackJsonpCallback [as push] (bootstrap:32)
Could someone please help me understand where I've gone wrong?
Here is some information about my Ionic setup:
Ionic:
Ionic CLI : 6.2.0 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.0.4
@angular-devkit/build-angular : 0.803.25
@angular-devkit/schematics : 8.3.25
@angular/cli : 9.0.5
@ionic/angular-toolkit : 2.2.0
Capacitor:
Capacitor CLI : 1.5.1
@capacitor/core : 1.5.1
Cordova:
Cordova CLI : 9.0.0 (<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="94f7fbe6f0fbe2f5b9f8fdf6d4adbaa4baa5">[email protected]</a>)
Cordova Platforms : none
Cordova Plugins : no whitelisted plugins (1 plugins total)
Utility:
cordova-res (update available: 0.9.0) : 0.6.0
native-run (update available: 0.3.0) : 0.2.8
System:
ios-deploy : 1.9.4
NodeJS : v10.16.3 (/usr/local/bin/node)
npm : 6.14.2
OS : macOS Catalina
Xcode : Xcode 11.3.1 Build version 11C504