About 50 results
Open links in new tab
  1. What is the use of python-dotenv? - Stack Overflow

    Jan 9, 2017 · Need an example and please explain me the purpose of python-dotenv. I am kind of confused with the documentation.

  2. How do you load environment variables from .env and .env.local with …

    Aug 10, 2021 · This might look like a newbie question, but I am unable to find the way to load environment variables from both .env and .env.local files in node with dotenv. Is it even possible? …

  3. How do I setup the dotenv file in Node.js? - Stack Overflow

    Mar 19, 2019 · 8 i didn't put my environment variables in the right format as was in the dotenv module documentation e.g. i was doing export TWILIO_CALLER_ID="+wwehehe" and so the dotenv module …

  4. Environment variable with dotenv and TypeScript

    Preload dotenv: node --require dotenv/config index.js (Note: you do not need to import dotenv with this approach) Import dotenv/config instead of dotenv (Note: you do not need to call dotenv.config () and …

  5. What is an .env (or dotenv) file exactly? - Stack Overflow

    Jul 6, 2021 · Some dotenv programs do just that: you prefix your command on the shell with dotenv and the variables in the dotenv file will magically be available in you process.

  6. Is it possible to use dotenv in a react project? - Stack Overflow

    22 Actually, you can use dotenv in your React app with webpack. Moreover, there are several ways of doing it. However, keep in mind that it's still a build-time configuration. A similar way to the answer …

  7. python-dotenv not loading .env variable for API_KEY, but other ...

    Jul 25, 2025 · I'm working on a FastAPI project where I use python-dotenv to load environment variables from a .env file. Most variables load correctly, but the API_KEY variable is not being picked up by my …

  8. Environment Variable not loading with load_dotenv () in Linux

    Nov 8, 2020 · Whenever your environment variable is loaded successfully, load_dotenv () returns True. For me it was an issue with my configuration file (syntax error) that broke the loading process.

  9. Rust dotenv isn't able to read .env file - Stack Overflow

    Mar 25, 2023 · I've got a Rust test app that uses dotenv. It's supposed to read a few keys in a .env file located at the project source folder. This is how my main function starts, calling dotenv and reading …

  10. dotenv file is not loading environment variables

    Dotenv did not load .env file. I tried to fix this problem with a path config, to put .env file in a root folder, to put .env in the folder where the file is running and nothing helps me.