Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Node.js / Titanium / Cordova installations interfering with each other

$
0
0

Hello

I used to have Titanium studio on my Mac OS X. I wanted to install Apache Cordova alongside it, but somehow my installation of node.js has developed a relationship with Titanium Studio that blocks it. CLI copy and paste at end of this post will give a good idea. Let me also explain.

Using node.js to install Cordova via CLI (Terminal). Titanium has been uninstalled as per the instructions at this URL:

https://wiki.appcelerator.org/display/guides2/Uninstalling+Studio#UninstallingStudio-MacOSX

As you can see from the CLI copy and paste below, I check node.js isn't installed, install it, check Cordova isn't installed, install it, and the installation show that it is being created in a subfolder of:

/Applications/Titanium Studio/TitaniumStudio.app/
How is node.js getting hold of this reference, and how can I create a clean install of FRANKLY ANYTHING with node.js on the CLI again?

Please. Thank you.

Last login: Wed Aug 13 20:35:37 on console
Richards-MacBook-Pro:lib richardwillis1$ lsbom -f -l -s -pf /var/db/receipts/org.nodejs.pkg.bom | while read f; do  sudo rm /usr/local/${f}; done
Password:
Richards-MacBook-Pro:lib richardwillis1$ sudo rm -rf /usr/local/lib/node /usr/local/lib/node_modules /var/db/receipts/org.nodejs.*
Richards-MacBook-Pro:lib richardwillis1$ node
-bash: node: command not found
Richards-MacBook-Pro:lib richardwillis1$ node
> 
(^C again to quit)
> 
Richards-MacBook-Pro:lib richardwillis1$ cordova-bash: cordova: command not found
Richards-MacBook-Pro:lib richardwillis1$ sudo npm install -g cordova/Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS/Password:/usr/local/bin/cordova -> /Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS/Password:/usr/local/lib/node_modules/cordova/bin/cordova
cordova@3.5.0-0.2.7 /Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS/Password:/usr/local/lib/node_modules/cordova
??? q@0.9.7
??? underscore@1.4.4
??? nopt@2.2.1 (abbrev@1.0.5)
??? cordova-lib@0.21.7 (osenv@0.0.3, properties-parser@0.2.3, bplist-parser@0.0.5, mime@1.2.11, semver@2.0.11, dep-graph@1.1.0, plist-with-patches@0.5.1, npmconf@0.1.16, shelljs@0.1.4, rc@0.3.0, glob@3.2.11, xcode@0.6.6, elementtree@0.1.5, tar@0.1.19, request@2.22.0, npm@1.3.4, cordova-js@3.6.2)
Richards-MacBook-Pro:lib richardwillis1$ cordova --version-bash: cordova: command not found
Richards-MacBook-Pro:lib richardwillis1$

Viewing all articles
Browse latest Browse all 8068

Trending Articles