chat-ui icon indicating copy to clipboard operation
chat-ui copied to clipboard

Environment Variables Not Accessible When Starting via PM2

Open mikuh opened this issue 9 months ago • 1 comments

When running the application with npm run dev or npm run preview, the environment variables are loaded correctly. However, when the application is started with pm2 start, it fails to access the environment variables.

mikuh avatar May 11 '24 02:05 mikuh

Also via node.js node build

calycekr avatar May 13 '24 13:05 calycekr

@mikuh Hello, I’m having the same issue with pm2, how did you solve it? I would really appreciate it if you could help me solve this problem.

ankush13r avatar Jul 24 '24 18:07 ankush13r