Is it that all the functions loading .env is broken

i am doing freecodecamp. it seems like whenever i tried to load something from .env with process.env nothing works, except if it let the parameter open

There cannont be spaced between the name of the varible and the value beseide the =.

Also, your name must be EXACTLY the same capitalization is the main thing.

To add to @chessebuilderman’s tips …

If the value has a special character such as &, the value will need to be in quotes.


1 Like