Bun Error Messages
JavaScript runtime, bundler and package manager.All Bun pages
- bun install: error: lockfile had changes, but lockfile is frozenbun install --frozen-lockfile fails with lockfile had changes, but lockfile is frozen when package.json and bun.lock disagree. Run bun install and commit.
- bun install: error: No version matching "99.0.0" found for specifier "is-number" (but package exists)bun install fails with No version matching found for specifier when the version in package.json was never published. Pick a real version with bun add.
- bun run: error: Script not found "dev"bun run dev fails with Script not found "dev" when package.json has no dev script and no file of that name exists. Check scripts, folder and workspace.
- Bun: error: Cannot find module './utils' from '/path/to/index.ts'Bun prints Cannot find module './utils' from FILE when an import points to a file or package that does not exist. Fix the path, install the package, or add it.