Balls
Balls
CDCloudflare Developers
Created by Balls on 4/24/2025 in #workers-help
Worker dependencies failed as soon as Bun detected?
I used the React Router template and deployed it successfully on the web UI, but when I installed the packages locally, made some changes that shouldn't affect anything and upgraded packages, the deployment now fails "while installing dependencies" and detects Bun 1.1.33 "from the environment", even though I initially never specified any Bun-related information in any files but I did have a lock file that I tried removing, and even though I have specified packageManager as [email protected] and installed devDependencies of the same version of bun and Node 23.11.0 with BUN_VERSION as the same version both in my wrangler script and in the web UI. What's going on and what am I doing wrong?
2025-04-23T09:14:00.723Z Initializing build environment...
2025-04-23T09:14:07.858Z Success: Finished initializing build environment
2025-04-23T09:14:07.989Z Cloning repository...
2025-04-23T09:14:08.966Z Detected the following tools from environment: [email protected], [email protected], [email protected]
2025-04-23T09:14:08.969Z Failed: error occurred while installing tools or dependencies
2025-04-23T09:14:00.723Z Initializing build environment...
2025-04-23T09:14:07.858Z Success: Finished initializing build environment
2025-04-23T09:14:07.989Z Cloning repository...
2025-04-23T09:14:08.966Z Detected the following tools from environment: [email protected], [email protected], [email protected]
2025-04-23T09:14:08.969Z Failed: error occurred while installing tools or dependencies
3 replies