Search code examples
node.jsappceleratorappcelerator-studio

Appcelerator Unable to locate cli executable


I am using OSX El Capitain and have just downloaded Appcelerator Studio. After the installation I tried to run it and when I try to log in I receive this error message: Unable to locate CLI executable (print screen below). I have already installed NodeJs downloaded directly from Appcelerator website.

How could I solve this?

enter image description here


Solution

  • There could have been an issue installing the the CLI depending on permissions. Appcelerator Studio installs node (if required), appcelerator CLI, Titanium CLI and others into a package underneath the AppceleratorStudio.app package. This is to ensure that it has those available.

    I would recommend checking your permissions and potentially re-installing Appcelerator Studio from the link :

    web.appcelerator.com

    Additionally you could install the CLI's globally using the following commands:

    sudo npm i -g appcelerator
    sudo npm i -g titanium
    sudo npm i -g alloy
    

    Once they are installed, see about running studio again to see if you still have issues.