Do page builds support patching in Yarn 4?
I'm using Yarn 4 for a Cloudflare Pages build, with the custom command
yarn prepack
. I have a .yarn/patches/
directory, and I don't believe it is being applied during installation. The build passes in all other environments (local, GitHub Actions), but fails with the pre-patch error only on Cloudflare Pages.
Is this because initialization command is yarn
instead of yarn install
? Because the it detected [email protected]
as a "tool from environment", even though .yarn/releases/yarn-4.1.1.cjs
is present?
I'm not sure if there are steps I can use to debug this or if it's a known issue.0 Replies