Skip to content

matrix-to doesn't build with latest Yarn version #412

Description

@guillaumevillemont

When updating Cloudflare Pages build to v3, the build failed. Cloudflare Pages v1 used Ubuntu20 with default Yarn v1.22.4 while Cloudflare Pages v3 is using Ubuntu22 with default Yarn v1.22.22.

Setting YARN_VERSION=1.22.4 in Cloudflare succeed again with Pages build v3.

(Nodejs version was also automatically bumped to 22.16.0 but that doesn't seem cause any trouble)

Node version can be pinned with .node-version but Cloudflare doesn't support reading yarn version from the repo yet.

So, no immediate issue but we have an old yarn version that will keep getting older hardcoded in Cloudflare.

2026-07-09T08:57:35.665406Z	Error: Exit with error code: 1
2026-07-09T08:57:35.66581Z	    at ChildProcess.<anonymous> (/snapshot/dist/run-build.js)
2026-07-09T08:57:35.665916Z	    at Object.onceWrapper (node:events:652:26)
2026-07-09T08:57:35.666006Z	    at ChildProcess.emit (node:events:537:28)
2026-07-09T08:57:35.666068Z	    at ChildProcess._handle.onexit (node:internal/child_process:291:12)
2026-07-09T08:57:35.672537Z	Failed: build command exited with code: 1
2026-07-09T08:57:36.484437Z	Failed: error occurred while running build command

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions