node.js - pm2启动node项目报错
ringa_lee
ringa_lee 2017-04-17 16:20:03
0
1
777
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直接启动是好的. 网上搜了一下,没有发现什么解决方法,初入坑,求指教~

ringa_lee
ringa_lee

ringa_lee

모든 응답(1)
黄舟
  • 사용된 pm2 명령을 게시하세요. pm2는 시작 프로세스 중에만 오류 메시지를 보고합니까? 예를 들어, 구식인가요? ? ? ?

  • 실행 중인 다른 프로젝트가 없다면 pm2 kill을 먼저 실행한 후

  • 을 실행해 보세요.
최신 다운로드
더>
웹 효과
웹사이트 소스 코드
웹사이트 자료
프론트엔드 템플릿