Error when trying to uploading App


#1

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/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: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


#2

I get this message

SyntaxError: Unexpected token <
at Object.parse (native)
at IncomingMessage. (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/lib/upload.js:186:25)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:944:16
at process._tickCallback (node.js:442:13)

Unexpected token < (CLI v1.5.5)

Your system information:

Cordova CLI: 5.0.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.35
Xcode version: Xcode 6.3.1 Build version 6D1002