Errors with Bun: "lockfile had changes, but lockfile is frozen"

To anyone seeing this: this happens when package.json is updated but bun.lockb is not. You’ll need to run bun install locally so that bun.lockb is updated.

We use this flag so that builds are reproducible, i.e. so that we’re using the exact same versions of dependencies that you’re using locally.

3 Likes