Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error creating Node.js Express App. Cannot find

error msg

Im trying to create a node.js project in WebStorm Can you tell what am I missing here?

like image 538
Furetur Avatar asked Mar 30 '17 18:03

Furetur


2 Answers

Got the solution from https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000137190-Create-express-4-15-project-fails-

It works!

  1. npm install -g express-generator

  2. express <project_name>

  3. cd <project_name>, npm install

  4. in webstorm, File | open, choose <project_name> folder

like image 155
Kv1402 Avatar answered Oct 16 '22 10:10

Kv1402


Just choose a different Express version in popup (4.14.1, for example). While installing through Webstorm.

like image 39
Mohsin Younas Avatar answered Oct 16 '22 11:10

Mohsin Younas