Ionic update : Cannot read property 'path' of undefined

Hello,

I’ve a pb when i user commande line ionic update
Console send me an error :

An error occurred uploading the build: TypeError: Cannot read property 'path' of undefined
--------------------------------

TypeError: Cannot read property 'path' of undefined
    at FormData._multiPartHeader (/usr/local/lib/node_modules/ionic/node_modules/form-data/lib/form_data.js:151:34)
    at FormData.append (/usr/local/lib/node_modules/ionic/node_modules/form-data/lib/form_data.js:39:21)
    at Object.getDirectUploadKey (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/lib/upload.js:249:8)
    at /usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/lib/upload.js:40:21
    at _fulfilled (/usr/local/lib/node_modules/ionic/node_modules/q/q.js:787:54)
    at self.promiseDispatch.done (/usr/local/lib/node_modules/ionic/node_modules/q/q.js:816:30)
    at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/ionic/node_modules/q/q.js:749:13)
    at /usr/local/lib/node_modules/ionic/node_modules/q/q.js:509:49
    at flush (/usr/local/lib/node_modules/ionic/node_modules/q/q.js:108:17)
    at nextTickCallbackWith0Args (node.js:420:9)


Cannot read property 'path' of undefined (CLI v2.1.1)

Your system information:

Cordova CLI: 6.3.1
Gulp version:  CLI version 1.2.2
Gulp local:   Local version 3.9.1
Ionic Framework Version: 1.3.1
Ionic CLI Version: 2.1.1
Ionic App Lib Version: 2.1.1
ios-deploy version: 1.9.0 
ios-sim version: 5.0.8 
OS: Mac OS X Sierra
Node Version: v4.4.7
Xcode version: Xcode 8.0 Build version 8A218a 

Any one have an idea ?

Same error when I typing “ionic package build android”

I think you are behind a proxy or firewall. You can make it work by downgrading ionic.
npm install -g ionic@1.4

I resolve this problem with this:

in ionic.config.json I put the “name” property with the name of my App in the Ionic Cloud.

{
“name”: “NameAppInIonicCloud”,
“typescript”: true,
“v2”: true
}