Skip to content

[Bug]: pnpm install fails out-of-the-box on standard Node v22 LTS (v22.17.0) #97792

Description

@aniruddhaadak80

What Problem This Solves

New contributors cloning the repository and running pnpm install on a standard LTS version of Node (e.g., �22.17.0) encounter a hard installation failure because the package.json strict engine requirement is set to {node:>=22.19.0}. This creates an immediate friction point for onboarding contributors.

Expected vs Actual Behavior

Expected: pnpm install should succeed on the current active Node v22 LTS branch, or the documentation/scripts should gracefully handle the minor version gap without failing the entire install process.
Actual: The installation fails with: [WARN] Unsupported engine: wanted: {node:>=22.19.0} (current: {node:v22.17.0,pnpm:11.2.2}), blocking all subsequent commands like pnpm run lint or pnpm test.

Proposed Solution

Evaluate if >=22.19.0 is strictly necessary for a specific Node feature. If not, downgrade the requirement in package.json to >=22.17.0. Alternatively, if it is required, update CONTRIBUTING.md to explicitly state the minor version requirement and recommend
vm or nm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.maturity:stableIssue affects a taxonomy feature currently scored M4/M5.no-staleExclude from stale automation

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions