Node.js Port 3000 already in use but it actually isn't?

前端 未结 30 2202
闹比i
闹比i 2020-11-28 17:24

I have been working with a node.js project for a few weeks and it has been working great. Usually, I use npm start to run my app and view it in a browser on loc

30条回答
  •  情话喂你
    2020-11-28 18:07

    In package.json scripts inlcude:

    "start": "nodemon app.js --delay 1500ms"
    

    I believe the issue was for me the time that the old port was not shutting down in time by nodemon for the restart. I experienced the issue using multer.

提交回复
热议问题