用forever 作为nodejs的守护进程启动,linux有报错,求解释~~
发布于 7 年前 作者 adam1985 5741 次浏览 最后一次编辑是 5 年前 来自 问答

error: Could not read .foreverignore file. error: ENOENT, open '/.foreverignore’ Failed to load c++ bson extension, using pure JS version js-bson: Failed to load c++ bson extension, using pure JS version

Error: Most middleware (like compress) is no longer bundled with Express and must be installed separately. Please see https://github.com/senchalabs/connect#middleware. at Function.Object.defineProperty.get (/opt/node/mptool/node_modules/express/lib/express.js:89:13) at Object.<anonymous> (/opt/node/mptool/app.js:39:17) at Module._compile (module.js:456:26) at Object.Module._extensions…js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Function.Module.runMain (module.js:497:10) at startup (node.js:119:16) at node.js:906:3

error: Forever detected script exited with code: 8 error: Script restart attempt #1

/usr/lib/node_modules/forever/node_modules/forever-monitor/node_modules/watch/main.js:73 if (err) throw err; ^ Error: ENOENT, stat ‘/proc/25442/cwd/bin’

3 回复

没有回答的吗

这个应该是程序的问题吧,和forever没有关系吧,Error: Most middleware (like compress) is no longer bundled with Express and must be installed separately

forever给node打了一个响亮的耳光

回到顶部