You must Login before you can answer or comment on any questions.
I am facing a strange problem when I am installing Titanium in MAC:
when I Tried to execute this command
sudo npm install -g NodeJS titanium alloyI've got always:
sudo: npm: command not foundI am not an expert with MAC, so what's the solution?
Thanks in advance?
I'm afraid that you are in a chicken and the egg situation.
Keep in mind that
npm is usually installed with NodeJS; although you can install it as a standalone product. But since you are not very Mac proficient, we'll assume that it's not installed on your machine at all.
There are different ways you can go about this. But the easiest way would be to simply let Titanium Studio do the heavy lifting for you. In TiStudio, simply go to the Help -> Check for updates menu. From there, you will be shown a dialog window that will allow you to install, NodeJS, Alloy, the Command Line Interface (CLI) or any oher tools that may come handy in the future. Thus rendering the
npm command call unnecessary.
npm comes with the nodejs installer. http://nodejs.org/
Think you can help? Login to answer this question!