Hi, I try to run the stable version of Titanium Studio 3.3.0 for OSX 10.9. According to http://docs.appcelerator.com/titanium/3.0/#!/guide/Installing_Node, it is not recommended to install in /usr/local as root. Out of security reasons, I'll never chmod /usr/local to 777 and advise everyone not to do so.
Instead I set NPM_CONFIG_PREFIX=~/node_modules
and added ~/node_modules/.bin to the PATH. Both are set correct and with npm install acs titanium alloy
, all three modules are installed into the correct path and all executables are in $PATH. acs -v
gives the correct version, as do the other two executables.
When starting TS 3.3.0, it prompts me to install acs, titanium and alloy (which are already installed). If I enter my root password, they get installed into /usr/local with user 'root'.
But even though, it still does not work because I get prompted to install them EVERY TIME.
I checked the configuration of TS in the "About" dialog and it correctly states NPM_CONFIG_PREFIX as "~/node_modules", but it just does not care.
Any help is really appreciated because since two days instead of evaluating Titanium studio, I try to install it according to the documentation.