What happens?
Running bun pm migrate in a repo with a pnpm v9 lockfile fails immediately with InvalidPnpmLockfile. bun install --lockfile-only also reports the same error and then ignores the lockfile.
Steps to reproduce
- Create or open a repo with a pnpm lockfile v9 (e.g.
lockfileVersion: '9.0').
- Run:
bun pm migrate
Actual output
error: Error loading lockfile: InvalidPnpmLockfile
Expected
bun pm migrate should migrate a pnpm v9 lockfile, or at least provide a more specific error with a way to bypass/force/skip.
Environment
- Bun: 1.3.5 (1e86ceb)
- pnpm lockfileVersion: 9.0 (pnpm 10.17.1)
- OS: macOS
Filed on behalf of @schickling.