Skip to content

Support repo installation & test under Node.js 26.x #830

@MikeMcC399

Description

@MikeMcC399

What would you like?

Support installation and test according to the CONTRIBUTING instructions under Node.js 26.x.

Why is this needed?

Attempting to install the repo with corepack yarn install fails with

better-sqlite3@npm:11.10.0 couldn't be built successfully

The engines field allows installation of the published corepack npm package also on Node.js 26.x. To provide confidence that Corepack works as intended on this release line, it should be possible to successfully run the full set of tests on Node.js 26.x

corepack/package.json

Lines 12 to 14 in 964d8cf

"engines": {
"node": "^20.10.0 || ^22.11.0 || >=24.0.0"
},

Other

Attempting an update to better-sqlite3@12.9.0 gets over the installation issue, however then the tests fail in Node.js 26.0.0, for instance with the following, although they continue to succeed in Node.js 20, 22 & 24:

   × custom registry with auth PROXY > should download yarn classic 272ms (retry x2)
     → expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
     → expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
     → expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions