简体   繁体   中英

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM