pm2 + socket.io 出现 Error: ENOENT, no such file or directory at Object.exports.resolve (path.js:309:52) at Function.Module._resolveLookupPaths (module.js:260:17) at Function.Module._resolveFilename (module.js:328:31) at Function.Module._load (module.js:280:25) at Function._load (/usr/local/node_js/lib/node_modules/pm2/node_modules/pmx/lib/transaction.js:62:21) at Module.require (module.js:364:17) at require (module.js:380:17) at Socket.<anonymous> (/data/www/emao.com/trunk/app/dealer/system/chat/app.js:236:9) at Socket.emit (events.js:95:17) at Socket.onevent (/usr/local/node_js/node_modules/socket.io/lib/socket.js:327:8)
pm2 看进程状态变成 errored 了, 而且, pm2 restart 的时候,提示,进程已经存在了