Trying to package a build on Ionicframework Pro Dashboard Fails


#1

Hey guys, I am able to package my app in Android Studio and through the CLI, but when I try on ionicframework pro dashboard I am getting the below error:

cordova-android-support-gradle-release: Android platform: cordova-android@6
cordova-android-support-gradle-release: Wrote custom version ‘25.+’ to /usr/src/app/platforms/android/build.gradle
cordova-android-support-gradle-release: Wrote custom version ‘25.+’ to /usr/src/app/platforms/android/cordova-android-support-gradle-release/properties.gradle
Adding cordova-android-support-gradle-release to package.json
Saved plugin info for “cordova-android-support-gradle-release” to config.xml
cordova-android-support-gradle-release: Android platform: cordova-android@6
cordova-android-support-gradle-release: Wrote custom version ‘25.+’ to /usr/src/app/platforms/android/build.gradle
cordova-android-support-gradle-release: Wrote custom version ‘25.+’ to /usr/src/app/platforms/android/cordova-android-support-gradle-release/properties.gradle
(node:1) UnhandledPromiseRejectionWarning: Error: Cannot find module ‘…/cordova/platform_metadata’
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Context.requireCordovaModule (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/Context.js:77:12)
at module.exports (/usr/src/app/plugins/cordova-plugin-add-swift-support/src/add-swift-support.js:23:34)
at runScriptViaModuleLoader (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:188:18)
at runScript (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:164:16)
at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:132:20
at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:787:54)
(node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)

Help desperately needed.


#3

Thought I would also share my ionic info information:

Ionic:

ionic (Ionic CLI) : 4.2.1 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.1.9

Cordova:

cordova (Cordova CLI) : 7.1.0
Cordova Platforms : android 6.3.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 1.2.1, (and 15 other plugins)

System:

Android SDK Tools : 26.1.1 (/Users/User/Library/Android/sdk/)
NodeJS : v10.1.0 (/usr/local/bin/node)
npm : 5.6.0
OS : macOS
Xcode : Xcode 10.0 Build version 10A255