-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deploy failed spawn sh ENOENT #3839
Comments
Hi @newcomein Is the path correct : |
@wallet77 Try it next time, and use webhook |
@wallet77 But I operated under the condition of broken network, that is, the Deploy request was not issued. |
@newcomein spawn sh ENOENT with pm2-deploy can occurred if configuration is wrong. |
@wallet77 Only these are the configuration items for Deploy |
Have you fixed this problem? |
@zsodur no |
In windows, try to use git bash, using vscode shell or powershell will get this error |
On windows there is no 'sh' executable that is why this is giving error. |
This! Thank you 👍 I didn't want to use git bash and I was about to use |
Can you please invoke the correct executable on Windows? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I also found same error. I am using Windows oparating system. |
Ваш совет решил мою проблему. Спасибо Вам!)) |
What's going wrong?
How could we reproduce this issue?
pm2 deploy pm2.config.json production setup
Supporting information
The text was updated successfully, but these errors were encountered: