I have run the following commands:
sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npm
npm install -g express-generator@4
However when I get to the following command, it does nothing:
express /tmp/foo && cd /tmp/foo
Thanks in advance for any help.
Try as below.
1) npm install -g express-generator
2) mkdir myExpress app
3) express -e --css stylus
Options:
-h, --help output usage information
-V, --version output the version number
-e, --ejs add ejs engine support (defaults to jade)
-H, --hogan add hogan.js engine support
-c, --css add stylesheet support (less|stylus|compass) (defaults to plain css)
-f, --force force on non-empty directory