[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live)

[Help](/c/help/9)

# Bun install fails, but locally it works fine

375 views · 0 likes · 5 posts


Arahman4710 (@arahman4710) · 2025-10-22

It seems like vercel has pegged bun to 1.3 and i think its causing my build to fail 

The bun install phase is failing with this error message:
Failed to install 1 package
Error: Command "bun install" exited with 1

Does anyone know how to change the bun version back to 1.2.x? It seems like vercel isn’t letting me change it

Is anyone else seeing a similar issue?


Satya Patel (@saddlepaddle) · 2025-10-22

https://bun.com/blog/bun-v1.3#isolated-installs-are-now-the-default-for-workspaces

This has the instructions related to the new breaking changes in bun v1.3 (which Vercel did indeed recently ship)! Just tested myself - adding the bunfig.toml setting fixed our deployment. Couldn’t find a way to use an older version of bun unfortunately, but this should work for you :+1:


Arahman4710 (@arahman4710) · 2025-10-22

Hey, thanks for trying to help! 

I tried your solution and i’m still seeing the same error :frowning: 

Did you do anything else besides add the bunfig.toml?


Jacob Paris (@jacobparis) · 2025-10-26

Hi @arahman4710, it looks like your builds are succeeding now, do you still have issues with Bun or did you find a solution?


system (@system) · 2026-01-20

Hey @arahman4710! 👋

Just wanted to follow up here. If you've found a solution or still need help, let us know! We're happy to continue assisting.