CLI 1.2.7 "ionic upload"


#1

Is anyone getting the following error on the new 1.2.7 CLI

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


#2

can some one else give this a go?


#3

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…?


#4

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


#5

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?


#6

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

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


#7

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.


#8

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


#9

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


#10

Me too:

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


#11

I’m facing this issue as well.


#12

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