Closed hyy34 closed 10 months ago
使用宝塔面板,进程守护器,目录设置hexon目录,命令为 pnpm start 但是显示 2023-09-01 16:38:53,641 INFO spawnerr: can't find command 'pnpm' 2023-09-01 16:38:53,642 INFO spawnerr: can't find command 'pnpm' 2023-09-01 16:38:54,843 INFO spawnerr: can't find command 'pnpm' 2023-09-01 16:38:54,843 INFO spawnerr: can't find command 'pnpm' 2023-09-01 16:38:56,846 INFO spawnerr: can't find command 'pnpm' 2023-09-01 16:38:56,846 INFO spawnerr: can't find command 'pnpm' 2023-09-01 16:39:00,408 INFO spawnerr: can't find command 'pnpm' 2023-09-01 16:39:00,408 INFO gave up: hexo_00 entered FATAL state, too many start retries too quickly 2023-09-01 16:39:00,408 INFO spawnerr: can't find command 'pnpm' 2023-09-01 16:39:00,408 INFO gave up: hexo_01 entered FATAL state, too many start retries too quickly
直接使用ssh,没问题。
hexon 并不要求特定的执行方式,成功运行 pnpm start 即可启动 hexon。可以咨询下宝塔社区 pnpm 命令找不到的可能原因。
pnpm start
此外,推荐使用 PM2 Process Management 完成 node 项目管理。
使用宝塔面板,进程守护器,目录设置hexon目录,命令为 pnpm start 但是显示 2023-09-01 16:38:53,641 INFO spawnerr: can't find command 'pnpm' 2023-09-01 16:38:53,642 INFO spawnerr: can't find command 'pnpm' 2023-09-01 16:38:54,843 INFO spawnerr: can't find command 'pnpm' 2023-09-01 16:38:54,843 INFO spawnerr: can't find command 'pnpm' 2023-09-01 16:38:56,846 INFO spawnerr: can't find command 'pnpm' 2023-09-01 16:38:56,846 INFO spawnerr: can't find command 'pnpm' 2023-09-01 16:39:00,408 INFO spawnerr: can't find command 'pnpm' 2023-09-01 16:39:00,408 INFO gave up: hexo_00 entered FATAL state, too many start retries too quickly 2023-09-01 16:39:00,408 INFO spawnerr: can't find command 'pnpm' 2023-09-01 16:39:00,408 INFO gave up: hexo_01 entered FATAL state, too many start retries too quickly
直接使用ssh,没问题。