[英]Nodejs not running
recently I installed Nodejs on Windows 7 and it was working perfectly. 最近我在Windows 7上安装了Nodejs,它运行得很好。 Few days ago it stops running well, for example: if I write "node C:/dir/.../server.js" the console shows: "..." and do nothing.
几天前它停止运行良好,例如:如果我写“节点C:/ dir /.../ server.js”,控制台会显示:“......”并且什么都不做。
I have checked the 80 port and it is free, can you please help me? 我已经检查了80端口它是免费的,你能帮我吗?
Don't enter node<enter>
first. 不要先输入
node<enter>
。 Also, you need quotes. 此外,你需要报价。 When you've opened cmd, directly type
node "C:\\Users\\Us Navy\\..."
. 当您打开cmd时,直接键入
node "C:\\Users\\Us Navy\\..."
。
When you run the node executable without arguments it opens a repl useful for quick tinkering. 当您运行不带参数的节点可执行文件时,它会打开一个对快速修改有用的repl。
To run a file provide the file as the first argument. 要运行文件,请将文件作为第一个参数。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.