Node.js unhandled 'error' event

后端 未结 6 1882
广开言路
广开言路 2021-02-02 08:14

I have written a simple code and save it in file try.js .

var http = require(\'http\');
var makeRequest = function(message) {
  var options = {
    host: \'loca         


        
6条回答
  •  执笔经年
    2021-02-02 08:36

    For me, the problem was another instance was running. Search for other node instance running and kill it. It should resume properly after.

提交回复
热议问题