现在每次修改代码后,都会报错[nodemon]
来源:5-10 开发路由(新建和更新博客路由)
慕粉3680532
2021-03-09
现在每次修改代码后,都会报错
Error: listen EADDRINUSE: address already in use :::8090 at Server.setupListenHandle [as _listen2] (net.js:1290:14) at listenInCluster (net.js:1338:12) at Server.listen (net.js:1425:7) at Object.(F:\nodeTest\blog-1\bin\www.js:7:8) at Module._compile (internal/modules/cjs/loader.js:707:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:718:10) at Module.load (internal/modules/cjs/loader.js:605:32) at tryModuleLoad (internal/modules/cjs/loader.js:544:12) at Function.Module._load (internal/modules/cjs/loader.js:536:3) at Function.Module.runMain (internal/modules/cjs/loader.js:760:12) Emitted 'error' event at: at emitErrorNT (net.js:1317:8) at internalTickCallback (internal/process/next_tick.js:72:19) at process._tickCallback (internal/process/next_tick.js:47:5) at Function.Module.runMain (internal/modules/cjs/loader.js:763:11) at startup (internal/bootstrap/node.js:308:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:878:3) [nodemon] app crashed - waiting for file changes before starting... ^C▒▒ֹ▒▒▒▒▒▒▒▒▒▒▒(Y/N)? ^C
1回答
-
双越
2021-03-10
看报错信息是 8090 端口被占了。你的 nodejs 服务端口是哪个?
022021-03-10
相似问题