Relative Content

Tag Archive for node.jspm2adonis.js

Node.js env variables not included in pm2

I have created an AdonisJS application from scratch, no custom code at the moment. I compile it and then try to serve it with pm2, but when I do pm2 logs web-app I get the following error:

NodeJs env variables do not included in pm2

I have created an AdonisJs application from scratch, no custom code at the moment.
I compile it and then try to serve it with pm2, but when I do pm2 logs web-app I get the following error:

Run Adonis (Node.js) with pm2

I have just deployed my first basic Adonis app to the production server.
When I serve it with node ace serve it works fine, I can access it from browser.