windows pm2 启动nodejs失败:Error: EBADF: bad file descriptor, uv_pipe_open
windows下打开命令窗口,安装pm2:npm install pm2 -g
pm2成功安装,在项目目录下用pm2启动服务:pm2 start index.js,结果启动失败,错误如下:
.pm2\pm2.log last 15 lines:
PM2 | 2018-11-13T12:57:17: PM2 log: App [index:0] exited with code [1] via signal [SIGINT]
\index.js had too many unstable restarts (16). Stopped. "errored"