Just a reminder when you type:
npm install -g express-generator
Use sudo, otherwise it will not work. Like this:
(1) sudo npm install -g express-generator
Then:
(2) express <Your_project_name> (3) cd <Your_project_name> (4) npm install (5) In WebStorm, File --> Open --> <Your_project_name>
Betterteng
source share