Monorepo Builds keep using npm instead of bun
As title says, I keep having the issue that the automatic builds correctly identify bun and it's version but proceed trying to install with npm.
Can I somehow force Cloudflare Build to use bun over npm?
4 Replies
is there a chance you are using the new text lockfile format of
bun.lock
or do you have your bun.lockb
file in the monorepo package/app and not root?issue is in most workflows I use the package directory as the root directory, meaning the lockfile isnt found by the CF CI defaulting to npm. I would just really like to force it to use bun rather than switching the app root.
Ah i see, this is where vercel makes it easier with custom install script
Yeah don’t really understand though why this isn’t an option here doesn’t seem too much 🥲