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

后端 未结 6 1581
攒了一身酷
攒了一身酷 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:52

    For what is worth, I got this error doing a clean install of nodejs and npm packages of my current linux-distribution I've installed meteor using

    npm install metor
    

    And got the above referenced error. After wasting some time, I found out I should have used meteor's way to update itself:

    meteor update
    

    This command output, among others, the message that meteor was severely outdated (over 2 years) and that it was going to install itself using:

    curl https://install.meteor.com/ | sh
    

    Which was probably the command I should have run in the first place.

    So the solution might be to upgrade/update whatever nodejs package(js) you're using.

提交回复
热议问题