升级0.8.1后再用forever就这样了。 是通过安装包在mac系统下安装的。 通过npm各种重新安装后都无效。。 不知道为什么? 有人能解答吗?
var forever = require(‘forever’); Error: dlopen(/Users/xhowhy/project/AssetsProxy/node_modules/forever/node_modules/daemon/lib/daemon.v0.8.1.node, 1): no suitable image found. Did find: /Users/xhowhy/project/AssetsProxy/node_modules/forever/node_modules/daemon/lib/daemon.v0.8.1.node: mach-o, but wrong architecture at Object.Module._extensions…node (module.js:480:11) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:362:17) at require (module.js:378:17) at Object.<anonymous> (/Users/xhowhy/project/AssetsProxy/node_modules/forever/node_modules/daemon/lib/daemon.js:12:11) at Module._compile (module.js:449:26) at Object.Module._extensions…js (module.js:467:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12)