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
PM2 not working in Windows #4113
Comments
I had this same problem when deploying a project on a new windows machine. My temporary solution was to revert back to the same version that I have on the old machine (3.2.2): Hope this helps. |
This issue on Windows starts with |
Thanks much @kepelrs! That solved it! Thanks @jdalton, it'd be great for this to be fixed. Do you know whether windows is part of the team's test plan when they release updates? |
I just encountered this during QA on a machine running Windows 10 Pro (1803, OS Build 17134.523) with pm2 As per @kepelrs suggestion, I altered the setup process to run |
closing in favor of #4128 |
...
I read the related issues, they are different from this problem.
What's going wrong?
PM2 not working in windows server 2012:
Now it prints a status table indicating that the app is running with status "online". However, if I run pm2 status, it shows no processes running. And No Node instance in the Task Manger is running.
Same happens if I use pm2 start ecosystem.config.js.
Nothing in .pm2/logs/*
But there are logs in .pm2/pm2.log:
How could we reproduce this issue?
From a Windows Server 2012 NT6.2 (no service pack) environment, try installing PM2 and starting a node process.
Supporting information
This is odd:
If I run
pm2 -v
I get3.2.7
but, if I run
pm2 report
, I getbash: $: command not found
The text was updated successfully, but these errors were encountered: