Bun install fails, but locally it works fine

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?

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:

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?

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