ionic-cli icon indicating copy to clipboard operation
ionic-cli copied to clipboard

syntaxError when i execute :ionic run ios

Open lixiaodong opened this issue 10 years ago • 3 comments

✗ Caught exception: SyntaxError: Unexpected end of input at Object.parse (native) at ChildProcess. (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/ionic-cordova-lib/node_modules/ionic-xcode/lib/pbxProject.js:39:24) at emitTwo (events.js:87:13) at ChildProcess.emit (events.js:172:7) at maybeClose (internal/child_process.js:818:16) at Socket. (internal/child_process.js:319:11) at emitOne (events.js:77:13) at Socket.emit (events.js:169:7) at Pipe._onclose (net.js:469:12)


i installed ionic-2.0.0-beta.15 on mac os.

first,I run ionic create myapp,then i just rewrite some html file,when i run ios again. this error shows.

Is there anyone who can help me ?please give me some ideas,maybe i use the wrong way? maybe the version i use was wrong?

lixiaodong avatar Jan 19 '16 07:01 lixiaodong

check any JSON parsing code in your app.

flexzero avatar Mar 02 '16 14:03 flexzero

Hello @lixiaodong ! Are you still having this issue with the latest version of the ionic cli (beta.25)?

jgw96 avatar May 02 '16 20:05 jgw96

Hello all! As it seems it has been a while since there was any activity on this issue i will be closing it for now. Feel free to comment if you are still running into this issue. Thanks for using Ionic!

jgw96 avatar May 09 '16 16:05 jgw96