I have Ubuntu 13.10 and I installed Node.js using:
sudo apt-get install nodejs
Then I installed Express using:
sudo npm install -g express
I had to use sudo for express installation because I had errors when I tried to do this without.
The problem is that when I try to create an express application or even a type express -von the command line, nothing happens ie:
kwal0203@Kanes-laptop:~$ express -v
kwal0203@Kanes-laptop:~$
I see that the express files were installed in the directory usr/local/lib/node_modules/express, as well as the file with the name expressin the directory usr/local/bin/, which I assume is some kind of shortcut or link, or something like that.
Any ideas on why the express is not working?
Thanks, thanks for the help!
source
share