You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running pm2 deploy production setup, an error is thrown after the SSH connection is established.
The syntax of the command is incorrect.
setup paths failed
This seems to occur due to line 212 in pm2-deploy/deploy. run "mkdir -p $path/{shared/{logs,pids},source}"
Where it is attempting to create a directory, but in CMD, the forward slashes are not supported. I can get around this by setting a different default shell for OpenSSH(in my case, git bash) on the box, but if pm2 is supporting Windows, this line should be adjusted.
Thanks!
The text was updated successfully, but these errors were encountered:
When running
pm2 deploy production setup
, an error is thrown after the SSH connection is established.The syntax of the command is incorrect. setup paths failed
This seems to occur due to line 212 in pm2-deploy/deploy.
run "mkdir -p $path/{shared/{logs,pids},source}"
Where it is attempting to create a directory, but in CMD, the forward slashes are not supported. I can get around this by setting a different default shell for OpenSSH(in my case, git bash) on the box, but if pm2 is supporting Windows, this line should be adjusted.
Thanks!
The text was updated successfully, but these errors were encountered: