pm2 start bin/www -i 0 node v 0.12.4 pm2 0.12.15
2015-05-29 11:21:17: [PM2] Error caught by domain:
PM2: AssertionError: false == true
PM2: at SharedHandle.add (cluster.js:97:3)
PM2: at queryServer (cluster.js:480:12)
PM2: at Worker.onmessage (cluster.js:438:7)
PM2: at ChildProcess.<anonymous> (cluster.js:692:8)
PM2: at ChildProcess.emit (events.js:129:20)
PM2: at handleMessage (child_process.js:324:10)
PM2: at Pipe.channel.onread (child_process.js:352:11)
PM2: 2015-05-29 11:21:17: [PM2] Automatic pm2 update
failed. Killing PM2 daemon and its processes…
PM2: 2015-05-29 11:21:17: pm2 has been killed by signal, dumping process list before exit…
PM2: 2015-05-29 11:21:17: Stopping app:www id:0
PM2: 2015-05-29 11:21:17: App name:www id:0 disconnected
PM2: 2015-05-29 11:21:17: Process with pid 7621 still not killed, retrying…
PM2: 2015-05-29 11:21:17: Process with pid 7621 still not killed, retrying…
PM2: 2015-05-29 11:21:17: Process with pid 7621 still not killed, retrying…
PM2: 2015-05-29 11:21:17: App name:www id:0 exited with code SIGTERM
PM2: 2015-05-29 11:21:17: Process with pid 7621 killed
PM2: 2015-05-29 11:21:17: Stopping app:www id:1
@i5ting 我查到 pm2官方Issue里面有人遇到这个问题,pm2的人说 是 node 0.12.1中已经修复的bug
这个具体和 bin/www 有什么关系? bin/www 不就是 express项目启动的入口吗