Open miparnisari opened 7 years ago
Version of windows/pm2/node + are you using the ubuntu inside windows things ?
Windows 10. PM2 2.4.0 Ubuntu 14.04.5 LTS
Are there any logs I can enable on PM2 to see what is going on under the hood?
See https://github.com/Microsoft/BashOnWindows/issues/110 and https://github.com/Unitech/pm2/issues/2322 The linux on windows isn't finished and suffer from several issues, pm2 doesn't work at all on it.
Ok so maybe the problem was that I was using Cmder, which is a console emulator.
When I use plain ol' CMD, I get this "deploy failed deploy failed" error (also found it in this StackOverflow question)
Getting somewhere closer now... This is the output with Git Bash:
Ok I got it to work! Maybe the docs should specify that when using pm2 on windows you need to use Git Bash 😀
I'm trying to deploy a Node application from my Windows 10 machine to a Ubuntu machine hosted in AWS.
See this series of outputs:
It seems as though pm2 is using the wrong key to connect to the target server.
This is my
ecosystem.json5
file: