I was using express 3.x for some time. The command line tool was working perfectly fine. I decided to update to 4.0 so that I can try it out and make old apps to 4.x compatible.
sudo npm install -g express
installed express perfectly fine, but when I try
exprsss -h
I get
bash: /usr/bin/express: No such file or directory
Is there anything I am doing wrong?
Express 4 seperates the generator from express.
What you need to do is to run:
$ npm install -g express-generator
Then it will work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With