1

I am having the same issue this this person had.

npm installed packages are not accessible

Where the command "express nodepad" does not work. It give an error that "The program 'express' is currently not installed. You can install it by typing: sudo apt-get install node-express" However, I did install it using npm with this command "sudo npm install -g express".

When I did ran "sudo npm install -g express" there were no warnings or errors.

What am I missing? Maybe I'm not express correctly?

I was following along with this tutorial. http://dailyjs.com/2010/11/08/node-tutorial-2/ But where he did "npm install express mongoose jade less expresso" I installed each one separately using a sudo and the -g option.

However, when I get to his command "express nodepad" I get the error. I have also tried to sudo the command and get the message "sudo: express: command not found"

Any help would be greatly appreciated.

1 Answers1

2

The new version of Express (4.0) does not itself have a bin folder. You have to install express-generator to get the setup functionality.

You are not doing anything wrong. Express has just changed the way it works. Have a look at this answer.

andehen
  • 36