#17612·vercel

pnpm dlx [email protected] runs out of heap on ubuntu-24.04; 59.16.0 installs fine

Author: mikhinCreated Sep 15, 2026Updated Sep 15, 2026

Installing the CLI with pnpm dlx crashes on GitHub's ubuntu-24.04 runner starting with 59.17.0. The process dies while pnpm is still fetching packages — the CLI never prints its banner, so no vercel command runs.

Progress: resolved 65, reused 5, downloaded 19, added 0
FATAL ERROR: invalid array length Allocation failed - JavaScript heap out of memory
Process completed with exit code 134

Reproduction

This job fails on [email protected] and succeeds on [email protected], nothing else changed:

yaml
runs-on: ubuntu-latest
steps:
  - uses: actions/checkout@v6
  - uses: pnpm/action-setup@v5
    with: { version: 10, run_install: false }
  - uses: actions/setup-node@v6
    with: { node-version: 24.4.1 }
  - run: pnpm dlx [email protected] pull --yes --environment=staging --token=$VERCEL_TOKEN

Environment

  • ubuntu-24.04, runner image 20260907.300
  • node 24.4.1
  • pnpm 10.x via pnpm/action-setup@v5

Notes

Three consecutive runs failed identically on 59.17.0; the same workflow with 59.16.0 deploys.

Not reproducible on macOS with the same pnpm and node — pnpm dlx [email protected] --version works there.

The diff between the two releases looks like routine patch bumps of the builders, with no change in dependency count (37 both) or unpacked size (9.75 MB vs 9.81 MB), so I could not narrow it further.