pm2 start runs but website is not working correctly

天大地大妈咪最大 提交于 2019-12-14 02:23:54

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!