Error: ENOENT: no such file or directory, uv_chdir
at Error (native)
at /xxxxx/lib/node_modules/pm2/lib/ProcessContainer.js:299:13
at /xxxx/lib/node_modules/pm2/node_modules/async/lib/async.js:52:16
at /xxxx/lib/node_modules/pm2/node_modules/async/lib/async.js:1209:30
at WriteStream.<anonymous> (/xxx/lib/node_modules/pm2/lib/Utility.js:147:13)
如题,使用pm2启动项目时,报如上错误.使用node直接启动是好的. 网上搜了一下,没有发现什么解决方法,初入坑,求指教~
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
贴出使用的pm2命令,启动过程中pm2只有报错提示吗? 比如说outdated????
如果没有run其他项目,先执行
pm2 kill,再试试