I want to use bun to run my cloudflare builds however it fails every time and not sure why, this is my stack trace:
12:05:01.271 Cloning repository...12:05:01.953 From https://github.com/jacobsamo/website12:05:01.954 * branch e783baa52cc0afe5427458b8a143b9beb00a07f4 -> FETCH_HEAD12:05:01.95412:05:01.991 HEAD is now at e783baa set package manager in package.json12:05:01.99212:05:02.08512:05:02.085 Using v2 root directory strategy12:05:02.115 Success: Finished cloning repository files12:05:07.642 Checking for configuration in a wrangler.toml configuration file (BETA)12:05:07.64312:05:07.643 Found wrangler.toml file. Reading build configuration...12:05:07.649 pages_build_output_dir: dist12:05:07.649 Build environment variables: (none found)12:05:07.764 Successfully read wrangler.toml file.12:05:07.922 Detected the following tools from environment:[email protected],[email protected]12:05:07.923 Installing bun 1.1.2212:05:08.071 Downloading Bun v1.1.22...12:05:08.279 curl: (22) The requested URL returned error: 40412:05:08.283 Fail: Couldn't download the Bun binary from https://github.com/oven-sh/bun/releases/download/bun-v1.1.22/bun-linux-x64.zip12:05:08.289 Fail: Failed to download Bun v1.1.2212:05:08.300 Error: Exit with error code: 112:05:08.301 at ChildProcess.<anonymous> (/snapshot/dist/run-build.js)12:05:08.301 at Object.onceWrapper (node:events:652:26)12:05:08.301 at ChildProcess.emit (node:events:537:28)12:05:08.301 at ChildProcess._handle.onexit (node:internal/child_process:291:12)12:05:08.311 Failed: build command exited with code: 112:05:09.461 Failed: error occurred while running build command
12:05:01.271 Cloning repository...12:05:01.953 From https://github.com/jacobsamo/website12:05:01.954 * branch e783baa52cc0afe5427458b8a143b9beb00a07f4 -> FETCH_HEAD12:05:01.95412:05:01.991 HEAD is now at e783baa set package manager in package.json12:05:01.99212:05:02.08512:05:02.085 Using v2 root directory strategy12:05:02.115 Success: Finished cloning repository files12:05:07.642 Checking for configuration in a wrangler.toml configuration file (BETA)12:05:07.64312:05:07.643 Found wrangler.toml file. Reading build configuration...12:05:07.649 pages_build_output_dir: dist12:05:07.649 Build environment variables: (none found)12:05:07.764 Successfully read wrangler.toml file.12:05:07.922 Detected the following tools from environment:[email protected],[email protected]12:05:07.923 Installing bun 1.1.2212:05:08.071 Downloading Bun v1.1.22...12:05:08.279 curl: (22) The requested URL returned error: 40412:05:08.283 Fail: Couldn't download the Bun binary from https://github.com/oven-sh/bun/releases/download/bun-v1.1.22/bun-linux-x64.zip12:05:08.289 Fail: Failed to download Bun v1.1.2212:05:08.300 Error: Exit with error code: 112:05:08.301 at ChildProcess.<anonymous> (/snapshot/dist/run-build.js)12:05:08.301 at Object.onceWrapper (node:events:652:26)12:05:08.301 at ChildProcess.emit (node:events:537:28)12:05:08.301 at ChildProcess._handle.onexit (node:internal/child_process:291:12)12:05:08.311 Failed: build command exited with code: 112:05:09.461 Failed: error occurred while running build command
I have removed the
bun.lockb
bun.lockb
and added to
.gitignore
.gitignore
beacuse that too was failing now it is set through