问题
I have a nodeJS project built with yarn. I can run the application on the server using 'yarn start'. It is working correctly. It runs the dist/app.js file when running with yarn. But when i run it using pm2 start app.js, pm2 process starts but application does not works. Any idea?
来源:https://stackoverflow.com/questions/49470269/pm2-start-runs-but-website-is-not-working-correctly