日志如下: error: Forever detected script exited with code: null error: Script restart attempt #1 Development Env.
events.js:72 throw er; // Unhandled ‘error’ event ^ Error: listen EADDRINUSE at errnoException (net.js:905:11) at Server._listen2 (net.js:1043:14) at listen (net.js:1065:10) at Server.listen (net.js:1139:5) at Object.<anonymous> (/var/app/FineX/app.js:98:8) 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) error: Forever detected script exited with code: 8 error: Script restart attempt #2
报错应该是从第一次 Forever detected script exited with code: null 开始的,完全不知道原因啊。。有人遇到吗?后面一个listen的问题我知道,貌似是node崩溃后,forever自重启,结果端口被占用导致的。