[Workers Build] bun: not found error

Cloudflare Workers is deployed using the build function. The project uses Bun, and the build process runs bun install --frozen-lockfile, although I have not specifically configured the build. I am getting the following error here, which prevents me from deploying.

Deployment was successful until 21 hours ago, but now it is failing. Please help.

Below is the build log.


11:01:03.697    Initializing build environment...
11:01:14.054    Success: Finished initializing build environment
11:01:14.058    Cloning repository...
11:01:15.213    Detected the following tools from environment: npm@10.8.3, bun@1.1.28, nodejs@22.9.0
11:01:15.214    Installing project dependencies: bun install --frozen-lockfile
11:01:15.220    /bin/sh: 1: bun: not found
11:01:15.221    Failed: error occurred while installing tools or dependencies
Was this page helpful?