Ionic Upload error with no specific error message

So I try to use Ioinc View and I can not upload my exist project. When I run ionic upload, this error message come out:
Xiaoyus-MacBook-Pro:Intern-Testing hughred22$ ionic upload
Uploading app…

Upload Failed: (CLI v1.5.0)

Your system information:

Cordova CLI: 5.0.0
Gulp version: CLI version 3.8.11
Gulp local:
Ionic Version: 1.0.0
Ionic CLI Version: 1.5.0
Ionic App Lib Version: 0.1.0
ios-deploy version: Not installed
ios-sim version: 3.1.1
OS: Mac OS X Yosemite
Node Version: v0.10.34
Xcode version: Xcode 6.3.1 Build version 6D1002

It just say fail but not the reason… please help.

I’m having the same issue for past couple of days!!
My app_id in project file is getting created automatically…no manual alteration!!

Uploading app…

Upload Failed: (CLI v1.5.4)

Your system information:

Cordova CLI: 5.0.0
Gulp version: CLI version 3.8.10
Gulp local: Local version 3.9.0
Ionic Version: 1.0.0
Ionic CLI Version: 1.5.4
Ionic App Lib Version: 0.2.1
ios-deploy version: Not installed
ios-sim version: 3.1.1
OS: Mac OS X Yosemite
Node Version: v0.10.34
Xcode version: Xcode 6.3.2 Build version 6D2105

Any suggestions for fixing this issue?

Thanks

Can you update your cli to the latest version (1.5.5)
There were some issues with upload that got fixed between there.

I updated my cli to latest version but still no luck!!

Uploading app…

Upload Failed: (CLI v1.5.5)

Your system information:

Cordova CLI: 5.0.0
Gulp version: CLI version 3.8.10
Gulp local: Local version 3.9.0
Ionic Version: 1.0.0
Ionic CLI Version: 1.5.5
Ionic App Lib Version: 0.2.2
ios-deploy version: Not installed
ios-sim version: 3.1.1
OS: Mac OS X Yosemite
Node Version: v0.10.34
Xcode version: Xcode 6.3.2 Build version 6D2105

Hmm, could you try with a blank project? It could be an issue somewhere in your project.
I jsut tried this with a blank project and upload worked fine.

Yeah I tried with blank project also. In fact the one of the previous project which I was able to upload, is also failing now!!

the ionic.project file which is getting created only has this info:
{
“name”: “myapp”,
“app_id”: “99107b7e”
}

Just wondering…should it also contain information about the gulp tasks??

yeah, if you have sass setup for a project, it should have them in there.

makes sense.
But unfortunately I’m not able to upload any projects…even new/blank projects!!

Hmm are you behind a proxy at all?

If not, would you making making an issue for this on our cli repo?

no proxy
Yeah I will go ahead and create a new issue.
Thanks for such quick responses. Appreciate it

Same problem. Started a new tabs project and tried to upload it.

Upload Failed: (CLI v1.5.5)

Your system information:

Cordova CLI: 4.1.2
Gulp version: CLI version 3.8.11
Gulp local:
Ionic Version: 1.0.0
Ionic CLI Version: 1.5.5
Ionic App Lib Version: 0.2.2
ios-deploy version: 1.7.0
ios-sim version: 3.1.1
OS: Mac OS X Yosemite
Node Version: v0.10.34
Xcode version: Xcode 6.3.2 Build version 6D2105

After trying a few times, it still says it failed. But now my app is visible at apps.ionic.io!

I’m getting this error whenever I try to upload my app.

Error: There was an error loading your ionic.project file: Unexpected token }
at Object.load (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/lib/project.js:41:13)
at Object.doUpload (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/lib/upload.js:23:30)
at /usr/local/lib/node_modules/ionic/lib/ionic/upload.js:28:19
at fulfilled (/usr/local/lib/nodemodules/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:557:44
at flush (/usr/local/lib/node_modules/ionic/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:419:13)
at Function.Module.runMain (module.js:499:11)
at startup (node.js:119:16)
at node.js:906:3

There was an error loading your ionic.project file: Unexpected token } (CLI v1.5.5)

Your system information:

Cordova CLI: 5.1.1
Gulp version: CLI version 3.9.0
Gulp local: Local version 3.9.0
Ionic Version: 1.0.0
Ionic CLI Version: 1.5.5
Ionic App Lib Version: 0.2.2
ios-deploy version: 1.7.0
ios-sim version: 2.0.1
OS: Mac OS X Yosemite
Node Version: v0.10.29
Xcode version: Xcode 6.3.2 Build version 6D2105

Any update on this? I tried a brand new project, but I still received the same error. Here are the unclear error message:

Uploading app…

Upload Failed: (CLI v1.5.5)

Your system information:

Cordova CLI: 5.0.0
Gulp version: CLI version 3.8.11
Gulp local:
Ionic Version: 1.0.0
Ionic CLI Version: 1.5.5
Ionic App Lib Version: 0.2.2
ios-deploy version: Not installed
ios-sim version: 3.1.1
OS: Mac OS X Yosemite
Node Version: v0.10.34
Xcode version: Xcode 6.3.1 Build version 6D1002

Interesting, I’m running the ionic cli 1.5.5 as well, just created a project and was able to upload it.

Cordova CLI: 5.1.1
Gulp version:  CLI version 3.8.11
Gulp local:   Local version 3.9.0
Ionic Version: 1.0.0
Ionic CLI Version: 1.5.5
Ionic App Lib Version: 0.2.2
ios-deploy version: 1.5.0
ios-sim version: 3.1.1
OS: Mac OS X Yosemite
Node Version: v0.10.38
Xcode version: Xcode 6.3.1 Build version 6D1002

Are you behind a proxy at all?

it looks like…we all were using node v 0.10.34
But after updating the node to v 0.12.5 (looks like anything above 0.10.34 works, not sure why)
the problem was solved!!! Try updating ur node version guys

Indeed Node 0.12.x solves the problem for me too. However node 0.12.x is not really compatible with Cordova currently…
So using nvm to switch versions for now…

The same error here…

Uploading app…

Upload Failed: (CLI v1.6.1)

Your system information:

Cordova CLI: 5.1.1
Ionic Version: 1.0.1
Ionic CLI Version: 1.6.1
Ionic App Lib Version: 0.3.3
OS: Windows 7 SP1
Node Version: v0.12.7

I still get error while using latest lib.

In windows this can be solved by disabling the Firewall. I solved that problem this way.

CLI 3.0.0-beta.4 and 5 ionic upload not work, error after auth successfully!!

ionic upload
✔ Requesting snapshot - done!
- Uploading snapshot

C:\Users\Javico\AppData\Roaming\npm\node_modules\ionic\node_modules\@ionic\cli-utils\dist\index.js:23463
  complete = Array(completeLength + 1).join(this.chars.complete);
             ^

RangeError: Invalid array length
    at ProgressBar.render (C:\Users\Javico\AppData\Roaming\npm\node_modules\ionic\node_modules\@ionic\cli-utils\dist\index.js:23463:14)
    at ProgressBar.tick (C:\Users\Javico\AppData\Roaming\npm\node_modules\ionic\node_modules\@ionic\cli-utils\dist\index.js:23418:8)
    at Task.progress (C:\Users\Javico\AppData\Roaming\npm\node_modules\ionic\node_modules\@ionic\cli-utils\dist\index.js:21613:30)
    at uploadSnapshot (C:\Users\Javico\AppData\Roaming\npm\node_modules\ionic\dist\ionic.js:8089:28)
    at Request.superagent.post.field.field.on (C:\Users\Javico\AppData\Roaming\npm\node_modules\ionic\dist\ionic.js:8065:21)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:191:7)
    at Transform.progress._transform (C:\Users\Javico\AppData\Roaming\npm\node_modules\ionic\node_modules\superagent\lib\node\index.js:860:16)
    at Transform._read (_stream_transform.js:167:10)
    at Transform._write (_stream_transform.js:155:12)

 Cordova CLI: 6.5.0
    Ionic Framework Version: 2.3.0
    Ionic CLI Version: 3.0.0-beta.5
    ios-deploy version: Not installed
    ios-sim version: Not installed
    OS: Windows 10
    Node Version: v7.7.3
    Xcode version: Not installed
1 Like