简体   繁体   中英

Nodejs not running

recently I installed Nodejs on Windows 7 and it was working perfectly. Few days ago it stops running well, for example: if I write "node C:/dir/.../server.js" the console shows: "..." and do nothing.

I have checked the 80 port and it is free, can you please help me?

在此输入图像描述

Don't enter node<enter> first. Also, you need quotes. When you've opened cmd, directly type node "C:\\Users\\Us Navy\\..." .

When you run the node executable without arguments it opens a repl useful for quick tinkering.

To run a file provide the file as the first argument.

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