Saras Arya
Saras Arya

Reputation: 3112

node.js not recognizing express

I am just starting development in node and wanted to install node and express. Now i downloaded node from the official website and installed it. Now i also referred some tutorials and This Link from SO Now the problem i face is that my CMD show something like this This Image and my node window like this This image i am using windows 7 64 bit OS. if express --help is not working it means node doesn't recognize express what should i do ? Kindly Help

Upvotes: 1

Views: 135

Answers (1)

mscdex
mscdex

Reputation: 106756

You installed the wrong package globally. You need to do npm install express-generator -g. Then from your command prompt (e.g. C:\>) you can use the express command.

Upvotes: 2

Related Questions