运行Nodemon Server时出错

时间:2016-07-12 17:42:01

标签: express nodemon

当我尝试使用nodemon src / app.js运行我的文件时出现此错误:

events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE :::3000
    at Object.exports._errnoException (util.js:1008:11)
    at exports._exceptionWithHostPort (util.js:1031:20)
    at Server._listen2 (net.js:1253:14)
    at listen (net.js:1289:10)
    at Server.listen (net.js:1385:5)
    at EventEmitter.listen (/Users/kevinmcnamara/express-dill/dill-    website/node_modules/express/lib/application.js:617:24)
    at Object.<anonymous> (/Users/kevinmcnamara/express-dill/dill-website/src/app.js:21:5)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
[nodemon] app crashed - waiting for file changes before starting...

我试过运行ps -w | grep节点然后运行带有PID号的kill命令我运行上一个命令,但它返回一条消息说 - 没有这样的过程。

有没有人有任何建议让我的快速服务器再次运行?

0 个答案:

没有答案
相关问题