CLI 1.2.7 "ionic upload"

Is anyone getting the following error on the new 1.2.7 CLI

“Error upload response: SyntaxError: Unexpected token < (CLI v1.2.7)”

1 Like

can some one else give this a go?

1 Like

I get this also. Ive got an existing yeomans ionic project, and recently installed the ionic cli. I create an ionic app using “ionic start” in the same directory as the yeomans app… but now an upload command is failing with same error as you… any progress?

Im guessing Im missing some ionic related config…?

Message has changed today, now getting : Forbidden upload (403) (CLI v1.2.7)

I’m getting the same error on version 1.2.8

Error upload response: SyntaxError: Unexpected token < (CLI v1.2.8)

Did someone figured out what is this about?

Same error, version 1.2.12, also a yeoman project if that matters

Error upload response: SyntaxError: Unexpected token < (CLI v1.2.12)

I am slo getting the same error

Error upload response: SyntaxError: Unexpected token < (CLI v1.2.13)

I just want to test sample app on device using ionic upload as currently I doesn’t have the IOS provisional profile.

If someone can guide me the actual steps which needs to be followed before running ionic upload command than I will be really thankful.

I’m receiving a similar error. Sometimes the app uploads fine and other times it doesn’t.

$ ionic upload

Uploading app…
Error upload response: SyntaxError: Unexpected token < (CLI v1.3.2)

$ ionic info

Your system information:

OS: Mac OS X Yosemite
Node Version: v0.10.33
Cordova CLI: 4.1.2
Ionic CLI Version: 1.3.2
Xcode version: Xcode 6.1.1 Build version 6A2008a
ios-sim version: 3.1.1

Also getting this
Error upload response: SyntaxError: Unexpected token < (CLI v1.3.2)

Me too:

Error upload response: SyntaxError: Unexpected token < (CLI v1.2.13)

I’m facing this issue as well.

OK,已经解决。把config.xml中widget标签下name标签内容改为英文字母上传就成功了。