79380874

Date: 2025-01-23 11:41:54
Score: 0.5
Natty:
Report link

I was running express app on aws lightsail. Spending hours...On giving full path into dotenv.config solved my issue.

const dotenv = require("dotenv");
dotenv.config({path:'/home/bitnami/vectorminds/server/.env'});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Aman Gupta