dotenv-rs / dotenv

Library to help supply environment variables in testing and development
MIT License
566 stars 45 forks source link

.env doesn't load at all on Windows #82

Open webbertakken opened 2 years ago

webbertakken commented 2 years ago

I've used dotenv packages in many languages, but this time I got quite confused.

Reason:

  1. It doesn't load the .env file at all on windows. (fully reproducible)
  2. It's completely silent, so no errors are shown whatsoever. (addressed in https://github.com/dotenv-rs/dotenv/issues/73)
webbertakken commented 2 years ago

And then I found this is unmaintained.

Solution: https://github.com/dotenv-rs/dotenv/issues/79

webbertakken commented 2 years ago

The bug also persists on Allan's fork. I've reported the issue here: https://github.com/allan2/dotenvy/issues/26