pm2 deploy ecosystem.json production
在我的MAC中,一切正常,但在Windows中,当我使用Cmder时,它就像:
/bin/bash:
C:/Users/travins/AppData/Roaming/npm/node_modules/pm2/node_modules/pm2-deploy/deploy: No such file or directory
Deploy failed
当我使用git bash:
connect EPERM //./pipe/rpc.sock
[PM2] Spawning PM2 daemon with pm2_home=C:\Users\travins\.pm2
events.js:183