Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bun i --frozen-lockfile errors, yet bun i doesn't change the lockfile #17192

Open
DaniGuardiola opened this issue Feb 8, 2025 · 0 comments
Open
Labels
bug Something isn't working bun install Something that relates to the npm-compatible client

Comments

@DaniGuardiola
Copy link

What version of Bun is running?

1.2.2+c1708ea6a

What platform is your computer?

Linux 5.15.167.4-microsoft-standard-WSL2 x86_64 x86_64

What steps can reproduce the bug?

Check out the Ariakit repo at this specific commit (see related PR), then install deps, then try --frozen-lockfile:

git clone [email protected]:ariakit/ariakit.git
cd ariakit
git checkout a5a0914d12cfb50e56d9f7262c554546f98b1391
bun i
bun i --frozen-lockfile

bun i --frozen-lockfile - result:

❯ bun i --frozen-lockfile
bun install v1.2.2 (c1708ea6)
error: lockfile had changes, but lockfile is frozen
note: try re-running without --frozen-lockfile and commit the updated lockfile

bun i - result (after --frozen-lockfile):

❯ bun i
bun install v1.2.2 (c1708ea6)

$ husky

1 package installed [451.00ms]

At no point in this sequence has the bun.lock file been altered (at least according to git).

What is the expected behavior?

No error.

What do you see instead?

Image

Additional information

This blocks Ariakit from migrating to Bun: ariakit/ariakit#4350

@DaniGuardiola DaniGuardiola added bug Something isn't working needs triage labels Feb 8, 2025
@RiskyMH RiskyMH added bun install Something that relates to the npm-compatible client and removed needs triage labels Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working bun install Something that relates to the npm-compatible client
Projects
None yet
Development

No branches or pull requests

2 participants