Node.js – events js 72 throw er unhandled 'error' event

后端 未结 6 1578
攒了一身酷
攒了一身酷 2020-12-04 14:19

I\'m new to Node.js and wish to run a program using streams. With other programs, I had to start a server simultaneously (mongodb, redis, etc) but I have no idea if I\'m sup

6条回答
  •  情深已故
    2020-12-04 14:53

    Well, your script throws an error and you just need to catch it (and/or prevent it from happening). I had the same error, for me it was an already used port (EADDRINUSE).

提交回复
热议问题