Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Trying to create Express application using WebStorm and it is not creating Express application

I am trying to create Express application using WebStorm and getting following error and cannot figure out why WebStorm cannot find Express related stuff:

Node.js Interpreter: C:\Program Files\nodejs\nodevars.bat
npm Executable: C:\Program Files\nodejs\npm.cmd

Express Version: Unavailable
Template Version: Unavailable
CSS Engine: Unavailable
like image 236
ATHER Avatar asked Jan 11 '23 13:01

ATHER


1 Answers

I was able to fix this by installing express as a global package:

 npm install express -g

After that, express, template and engine all populated correctly.

like image 146
user3787073 Avatar answered Jan 16 '23 22:01

user3787073