ideappceleratorcrash-reportsappcelerator-studio

Appcelerator Studio undefined1 SyntaxError: Unexpected end of input


My Appcelerator Studio suddenly just crashed and can't open or use it anymore. I tried UNINSTALLING and REINSTALLING it, but with no luck.

Any thoughts about this? Please check the Crash error report here

System Information

OS: MAC(OS X El Capitan v10.11.3) Memory: 4GB RAM

Crash report

undefined:1

SyntaxError: Unexpected end of input
at Object.parse (native)
at Object.readConfig (/usr/local/lib/node_modules/appcelerator/lib/util.js:720:30)
at Object.<anonymous> (/usr/local/lib/node_modules/appcelerator/bin/appc:96:23)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:139:18)
at node.js:968:3

Solution

  • Looks like there is an incompatibility between your CLI version and Node version.

    What's the node and CLI version which you are running now?

    Node 4.2 and higher is required to run the latest Studio 4.8.0/CLI 6.0/SDK 6.0. Ideally, Studio Mac installer would have taken care of this but it didn't happen in your case.

    To make it work in your case, follow the instructions from here for clean installation of Node and CLI, then run the studio.

    https://medium.com/all-titanium/reinstalling-appcelerator-titanium-on-mac-from-scratch-9a2bb6b9b629#.d0k1wzt3z