Bloxs
Bloxs4w ago

Running Fresh app on Windows with pm2

I'm trying to run a fresh project in a production environment (windows server) but for some reason whenever I run deno via pm2 it panics with a "The handle is invalid (OS Error 6)" message when I try to run it. I was also able to reproduce this on a regular windows 11 install. Interestingly I'm unable to reproduce this on a mac device which I used to develop the website. Is there some sort of config setting I need to enable for pm2 other than specifying deno as the interpreter? I'm using deno 2.0.3
2 Replies
NDH
NDH4w ago
Just curious -- what is pm2? Ahh a process manager.
You may like pup https://github.com/Hexagon/pup
Bloxs
BloxsOP4w ago
I was considering pup but pm2's online monitoring dashboard is nice so if it's possible to use it I'd like to