module.js:338 throw err in node.js

前端 未结 6 620
陌清茗
陌清茗 2021-02-08 01:31

I\'m using ubuntu and I\'m trying to run a script using nodejs and i\'m getting this error.

/home/bebz/Documents/test# node server.js
module.js:338
throw err;
           


        
6条回答
  •  没有蜡笔的小新
    2021-02-08 01:45

    npm update

    I see this when the module install order is not perfect, or multiple modules exist.

    npm update sorts this out deprecating the incorrect versions.

提交回复
热议问题