search

Home  >  Q&A  >  body text

node - Why can't pm2 in git post-receive find the application?

I built a git repository on vps and wrote some commands in the post-receive file in its hooks:

When submitting through git locally, a problem occurs:

But when I execute pm2 on the server, it is normal. Does anyone know why?

Thank you very much.

怪我咯怪我咯2790 days ago615

reply all(0)I'll reply

No reply
  • Cancelreply