Skip to content

fix(js): declare the Node 22.13 floor pnpm 11 requires - #2143

Merged
chubes4 merged 1 commit into
trunkfrom
fix/js-node-floor
Sep 23, 2026
Merged

chubes4 merged 1 commit into
trunkfrom
fix/js-node-floor

Conversation

@chubes4

@chubes4 chubes4 commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

The JavaScript component's release now fails while enabling its package manager (run 35829327317):

node: 20
Error [ERR_UNKNOWN_BUILTIN_MODULE]: No such built-in module: node:sqlite
enable declared package manager failed (exit 1)

packages/blocks-engine/package.json pins pnpm@11.14.0, which requires node >=22.13 (per its published engines), but declares engines.node: ">=20". Release tooling derives the Node version from engines.node (Extra-Chill/homeboy-extensions#2873), so it correctly installed the declared floor, Node 20, and pnpm 11 cannot start on it.

The package's own JS CI already runs Node 22 (js.yml), which is why this was never visible there. The declaration had fallen behind the toolchain. This raises it to >=22.13, matching what pnpm 11 needs.

Verified:

$ homeboy component env --path packages/blocks-engine
runtimes: {"node": {"source": "component", "version": "22"}}     # was "20"

$ enable-package-manager.sh      # the release action's step, on Node 22+
Enabled pnpm 11.14.0 from ./package.json (pnpm@11.14.0)

AI disclosure: diagnosed, fixed, and described by Claude (claude-sonnet-4-6) via Claude Code, acting for Chris Huber.

The package pins pnpm@11.14.0, which requires Node >=22.13, but declared
engines.node >=20. Release tooling now derives the Node version from engines,
so it installed Node 20 and pnpm failed to start.
@chubes4
chubes4 merged commit a706cd0 into trunk Sep 23, 2026
1 of 2 checks passed
@chubes4
chubes4 deleted the fix/js-node-floor branch September 23, 2026 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant