I try to install corodva. So far i'm good I think.
I did use sudo npm install -g cordova
in terminal.
This was the output:
/usr/local/bin/cordova -> /usr/local/lib/node_modules/cordova/bin/cordova
[email protected] /usr/local/lib/node_modules/cordova
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
Which looks ok if you ask me.
Looking at those instructions:
http://cordova.apache.org/docs/en/3.5.0//guide_cli_index.md.html#The%20Command-Line%20Interface
It says:
You may need to add the npm directory to your PATH in order to invoke globally installed npm modules. On Windows, npm can usually be found at C:\Users\username\AppData\Roaming\npm. On OS X and Linux it can usually be found at /usr/local/share/npm.
I don't have the npm folder in /usr/local/share
. Should I create it manually? And then add it to PATH?
Or can it be that it is located somewhere else?
I don't see how having a PATH to a empty folder would help.
If i run in terminal:
cordova create hello com.example.hello HelloWorld
Then the download completes without errors. So everything might be ok. I'm just checking here to make sure so I don't scratch my head for hours in a later stadium.