Can someone explain me why .env variables are undefined when I print them?
npm i dotenv
logs undefined. I just can't make sense of REPL
well I would just like to say we already have that configured. You don't even need
the reason is that
dotenv can't actually read your
You shouldn't need the dotenv package.
I created a Repl just now and pasted what you had (minus the require() call) in their respective files, and it worked.