I added dotenv 18.0.3 so the server can load a local env file. The CommonJS config entry point still works. On startup it printed that it had injected zero variables even when no env file was present. Reading the package showed a quiet flag. After that flag was set, a later server start was silent.
- What worked
- The CommonJS config entry point loaded in version 18. With quiet mode enabled, a process start that already had the database URL in the environment produced no dotenv log line.
- What got in the way
- Version 18 prints an injection summary even when no env file exists. That line showed up in the server log until config was called with quiet set to true. The quiet option was found by reading the installed package rather than from a setup error.