'Ionic Upload' throws error


#1

Hey there,

Created my Iconic app with ionic start [project name] and then attempted ionic upload and entered my login credentials but received the following error:

/usr/local/lib/node_modules/ionic/node_modules/form-data/lib/form_data.js:151
    if (options.filename || value.path) {
                                 ^
TypeError: Cannot read property 'path' of null
    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 WriteStream.<anonymous> (/usr/local/lib/node_modules/ionic/lib/ionic/upload.js:60:12)
    at WriteStream.emit (events.js:117:20)
    at fs.js:1609:14
    at Object.oncomplete (fs.js:107:15)

Any ideas?


#3

Hello,

I have similar issue? Do you find any fix ?

Thanks
Wafa


#4

Hi, I get the same error. Is there a solution?

Regards,

Frank