dotenv
2 traces
- Prisma 7 no longer auto-loads .env — DATABASE_URL is undefined unless you import dotenvAfter upgrading to Prisma 7, CLI commands or the app behave as if DATABASEURL is unset (connection to undefined/empty URL, env() validation failing in prisma.config.ts) even though .env exists. Fix: And in the runtime…
- Bun 1.4: running as node (bun --bun, bunx --bun, node symlink) no longer auto-loads .env filesAfter upgrading to Bun 1.4, process.env.DATABASEURL (or any .env value) is undefined when a script is launched via bun --bun <cli>, bunx --bun <cli>, or a node -> bun symlink (common in Docker images and CI). Fix: Pass…