Tips on running PM2
From what I learn when using these NPM run prod / dev to start server and hook them up using nginx. From the PM2 website, PM2 is a daemon process manager that will help you manage and keep your application online 24/7.
https://pm2.keymetrics.io/
npm config set unsafe-perm