[Solved] Insolvable problem with pm2

Hello,

I’m calling for help on something I don’t understand :frowning:

I’m in the process of rewriting my Enocean module with a new version of enocean-js.
To keep things simple, I started by rewriting it on Gladys3 first.

My problem is as follows:

I receive Enocean frames from my USB dongle, which I manage to process, when I start Sails.js in dev or prod mode (sails lift, node app.js --prod).
However, when I start Gladys with pm2, nothing happens, there are no errors, but no data is received.

I can’t figure out what pm2 could be doing differently…

Any ideas on your end?

It’s resolved, the PM2 version was simply too old.

That’s great

I’ve always found that pm2 (but still practical) wasn’t reliable