[AC-1296] Ti Studio doesn't recognize ti cli, acs and alloy installation made it by nvm
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2014-08-07T02:27:34.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Alloy, Appcelerator CLI, Studio |
Labels | TCSupportTriage, qe-stud100112, studio3 |
Reporter | Arandi López |
Assignee | Mauro Parra-Miranda |
Created | 2014-07-25T13:46:46.000+0000 |
Updated | 2016-03-08T07:37:41.000+0000 |
Description
I change my defualt nodejs installation 'cause I need to use other commads without sudo. I change it using nvm.
I reinstall Ti Studio, also added nvm and bins to PATH variable. Install titanium, alloy and acs from Ti Studio terminal, and nothing...
Every time I try to open Studio ask me to install Ti CLI, Alloy and ACS, when I try to install by Ti Studio, throw me an error that doesn't find npm.
Do anybody has an idea of how to fix this?. Thanks.
Attachments
Hello! Likely your nvm is not showing a global nodejs, that's the reason your Ti Studio doesn't see it. Please read this article: https://www.digitalocean.com/community/tutorials/how-to-install-node-js-with-nvm-node-version-manager-on-a-vps and use the workaround to have a copy of nodejs in the usr local directory. Best Regards.
Hello! Another workaround: https://coderwall.com/p/of5u8w (basically, install nvm from the Ti Studio console, so you are using exactly the same environment). Best Regards!
nvm is not officially supported by Ti Studio.
Thanks Mauro, the first one and another little trick fixed the problem... Thx so much