【发布时间】:2015-12-04 01:54:49
【问题描述】:
我正在开发一个 mean.io 应用程序。我正在尝试使用永远的节点模块在 Ubuntu shell 上运行此应用程序,但它会引发错误
"util.js:756
throw new TypeError('The super constructor to `inherits` must not ' +
^: The super constructor to `inherits` must not be null or undefined.
at Object.exports.inherits (util.js:756:11)
at Object.<anonymous> (/usr/lib/node_modules/forever/node_modules/forever-monitor/lib/forever-monitor/monitor.js:142:7)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object.<anonymous> (/usr/lib/node_modules/forever/node_modules/forever-monitor/lib/index.js:14:24)
at Module._compile (module.js:435:26)
"
任何人都可以帮助解决这个实际问题,我该如何解决这个错误。
【问题讨论】:
-
我正在运行这个命令来启动应用程序“forever gulp production”,然后它会抛出上面提到的应用程序。当我使用 gulp 命令“gulp production”正常运行此应用程序时,它工作正常。
-
我不知道为什么有人无缘无故地否决了它
标签: gulp forever ubuntu-11.10 mean.io