bun
3 traces
- Bun 1.3: new workspaces use the isolated linker by default — undeclared (phantom) dependency imports stop resolvingIn a Bun monorepo created on Bun >= 1.3, a package imports something it never declared in its own package.json (it is only a dependency of another workspace or of the root) and module resolution fails, or a tool that…
- 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…
- Bun 1.2+: lockfile is text bun.lock, not binary bun.lockb — bun.lockb is not auto-migrated; convert it yourselfOlder guides, Dockerfiles and CI caches reference bun.lockb (e.g. Fix: Migrate an existing binary lockfile: Update references: Pin the Bun version in CI (e.g.