As the title suggests when i create a new build running in my CLI (3.3.0):
npm version (3.10.10)
node version (6.10.2)
latest cordova v
ionic package build android
The snapshot is uploaded, build finished, build submitted etc.
However on the cloud the build has FAILED:
This is the OUTPUT:
Any idea what is causing this error?:
Error: cordovaProject.projectConfig.getFileResources is not a function
If required i would gladly provide more info
I fixed the problem by using this post:
the right combination is cordova@6 and firstname.lastname@example.org.
To be sure to have 6 version of cordova-cli run:
npm uninstall -g cordova
npm install -g cordova@6
To be sure to have 6.1.2 of android platform run:
ionic cordova platform rm android
ionic cordova platform add email@example.com
After this ionic package works for me.
Worth checking into, as more people will probably face the same issue.