pm2 deploy <env> setup goes wrong on the first set up remoting server. The error happens because the git clone does not work well on the remote server.
How could we reproduce this issue?
set up a fresh remote server for deployment
create ecosystem.conifg.js which has deployment session (repo link uses ssh)
What's going wrong?
pm2 deploy <env> setup
goes wrong on the first set up remoting server. The error happens because thegit clone
does not work well on the remote server.How could we reproduce this issue?
Supporting information
I remote to the remoting server using ssh and run this command for fixing the problem.