Javascript 运行node server.js时在命令提示符中获取错误
我试图使用从GitHub导入的代码运行node appJavascript 运行node server.js时在命令提示符中获取错误,javascript,node.js,nodes,node-modules,Javascript,Node.js,Nodes,Node Modules,我试图使用从GitHub导入的代码运行node appserver.js,但控制台中出现以下错误。我不知道为什么会出现这个错误 错误:util.js:959 Object.setPrototypeOf(ctor.prototype,supercor.prototype) TypeError:Object.setPrototypeOf调用为null或未定义 在Function.setPrototypeOf处(本机) 在Object.exports.inherits(util.js:959:10)
server.js
,但控制台中出现以下错误。我不知道为什么会出现这个错误
错误:util.js:959 Object.setPrototypeOf(ctor.prototype,supercor.prototype)
TypeError:Object.setPrototypeOf调用为null或未定义
在Function.setPrototypeOf处(本机)
在Object.exports.inherits(util.js:959:10)
反对。(businessvalidationexception.js:1:17)
在模块处编译(Module.js:541:32)
在加载程序中(/home/vagrant/Desktop/…/node_modules/babel core/node_modules/babel register/lib/node.js:126:5)
at Object.require.extensions.(匿名函数)[as.js](/home/vagrant/Desktop/…/node_modules/babel core/node_modules/babel register/lib/node.js:136:7)
在Module.load(Module.js:458:32)
在tryModuleLoad时(module.js:417:12)
在Function.Module.\u加载(Module.js:409:3)
at Module.require(Module.js:468:17)
您尝试运行的应用程序是什么?你能添加到git回购的链接吗?大写标题
TypeError: Object.setPrototypeOf called on null or undefined
at Function.setPrototypeOf (native)
at Object.exports.inherits (util.js:959:10)
at Object.<anonymous> (businessvalidationexception.js:1:17)
at Module._compile (module.js:541:32)
at loader (/home/vagrant/Desktop/..../node_modules/babel-core/node_modules/babel-register/lib/node.js:126:5)
at Object.require.extensions.(anonymous function) [as .js] (/home/vagrant/Desktop/..../node_modules/babel-core/node_modules/babel-register/lib/node.js:136:7)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
at Module.require (module.js:468:17)