Im trying to create a node.js project in WebStorm Can you tell what am I missing here?
5 Answers
Got the solution from https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000137190-Create-express-4-15-project-fails-
It works!
npm install -g express-generator
express <project_name>
cd <project_name>, npm install
in webstorm, File | open, choose <project_name> folder
Just choose a different Express version in popup (4.14.1, for example). While installing through Webstorm.
1 Comment
Have you tried installing required dependencies globally? It's usually done like this:
npm install [dependency_name] -g
In your case it might be that express-generator is either not installed globally or not available in PATH.
