标签:
启动程序:pm2 start <app_name|id|all>
列举进程:pm2 list
退出程序:pm2 stop <app_name|id|all>
重起应用:pm2 restart
程序信息:pm2 describe id|all
监控:pm2 monit
实时集中log处理: pm2 logs
API:pm2 web (端口:9615 )
fs.js:747 return binding.mkdir(pathModule._makeLong(path), ^Error: ENOENT, no such file or directory ‘E:\Users\dustin\.pm2‘ at Error (native) at Object.fs.mkdirSync (fs.js:747:18) at Object.CLI.pm2Init (C:\Users\dustin\AppData\Roaming\npm\node_modules\pm2\lib\CLI.js:37:8) at Object.<anonymous> (C:\Users\dustin\AppData\Roaming\npm\node_modules\pm2\bin\pm2:20:5) at Module._compile (module.js:460:26) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Function.Module.runMain (module.js:501:10) at startup (node.js:129:16)
我愚笨的解决方法:
在E盘下建文件夹:
\Users\dustin标签:
原文地址:http://www.cnblogs.com/forbaby2015/p/4602766.html