Skip to content

fix: dont check version format when binary version is specified #1436

fix: dont check version format when binary version is specified

fix: dont check version format when binary version is specified #1436

Re-run triggered November 7, 2025 20:12
Status Failure
Total duration 28m 35s
Artifacts

ci.yml

on: pull_request
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

40 errors
macos-latest w/ Node.js 22.x
Process completed with exit code 1.
tests/main.test.ts > should allow range versions in devEngines.packageManager.version when user specifies exact version: tests/main.test.ts#L1727
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '', …(1) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "10.8.0 + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046:11) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) { + [cause]: Error: No mock found for https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (/Users/runner/work/corepack/corepack/tests/recordRequests.js:79:22) + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22040:33) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + at async download (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22203:18) + at async installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22295:55) + at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22846:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22957:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) + } + + Node.js v22.21.1 ", + "stdout": "", } ❯ tests/main.test.ts:1727:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.3-eb329e0e16-ce4cebede6.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1714:3
tests/main.test.ts > should allow range versions in devEngines.packageManager.version when user specifies exact version: tests/main.test.ts#L1727
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '', …(1) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "10.8.0 + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046:11) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) { + [cause]: Error: No mock found for https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (/Users/runner/work/corepack/corepack/tests/recordRequests.js:79:22) + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22040:33) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + at async download (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22203:18) + at async installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22295:55) + at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22846:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22957:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) + } + + Node.js v22.21.1 ", + "stdout": "", } ❯ tests/main.test.ts:1727:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.3-eb329e0e16-ce4cebede6.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1714:3
tests/main.test.ts > should allow range versions in devEngines.packageManager.version when user specifies exact version: tests/main.test.ts#L1727
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '', …(1) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "10.8.0 + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046:11) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) { + [cause]: Error: No mock found for https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (/Users/runner/work/corepack/corepack/tests/recordRequests.js:79:22) + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22040:33) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + at async download (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22203:18) + at async installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22295:55) + at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22846:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22957:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) + } + + Node.js v22.21.1 ", + "stdout": "", } ❯ tests/main.test.ts:1727:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.3-eb329e0e16-ce4cebede6.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1714:3
Testing chores
Process completed with exit code 2.
Testing chores: sources/commands/deprecated/Prepare.ts#L45
Expected 1 arguments, but got 0.
Testing chores: sources/commands/Base.ts#L22
Expected 1 arguments, but got 0.
macos-latest w/ Node.js 20.x
Process completed with exit code 1.
tests/main.test.ts > should allow range versions in devEngines.packageManager.version when user specifies exact version: tests/main.test.ts#L1727
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '', …(1) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "10.8.0 + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046:11) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) { + [cause]: Error: No mock found for https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (/Users/runner/work/corepack/corepack/tests/recordRequests.js:79:22) + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22040:33) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + at async download (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22203:18) + at async installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22295:55) + at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22846:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22957:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) + } + + Node.js v20.19.5 ", + "stdout": "", } ❯ tests/main.test.ts:1727:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.3-eb329e0e16-ce4cebede6.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1714:3
tests/main.test.ts > should allow range versions in devEngines.packageManager.version when user specifies exact version: tests/main.test.ts#L1727
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '', …(1) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "10.8.0 + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046:11) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) { + [cause]: Error: No mock found for https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (/Users/runner/work/corepack/corepack/tests/recordRequests.js:79:22) + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22040:33) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + at async download (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22203:18) + at async installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22295:55) + at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22846:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22957:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) + } + + Node.js v20.19.5 ", + "stdout": "", } ❯ tests/main.test.ts:1727:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.3-eb329e0e16-ce4cebede6.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1714:3
tests/main.test.ts > should allow range versions in devEngines.packageManager.version when user specifies exact version: tests/main.test.ts#L1727
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '', …(1) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "10.8.0 + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046:11) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) { + [cause]: Error: No mock found for https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (/Users/runner/work/corepack/corepack/tests/recordRequests.js:79:22) + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22040:33) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + at async download (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22203:18) + at async installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22295:55) + at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22846:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22957:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) + } + + Node.js v20.19.5 ", + "stdout": "", } ❯ tests/main.test.ts:1727:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.3-eb329e0e16-ce4cebede6.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1714:3
ubuntu-latest w/ Node.js 20.x
Process completed with exit code 1.
ubuntu-latest w/ Node.js 22.x
Process completed with exit code 1.
tests/main.test.ts > should allow range versions in devEngines.packageManager.version when user specifies exact version: tests/main.test.ts#L1727
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '', …(1) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "10.8.0 + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046:11) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) { + [cause]: Error: No mock found for https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (/home/runner/work/corepack/corepack/tests/recordRequests.js:79:22) + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22040:33) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + at async download (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22203:18) + at async installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22295:55) + at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22846:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22957:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) + } + + Node.js v20.19.5 ", + "stdout": "", } ❯ tests/main.test.ts:1727:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.3-eb329e0e16-ce4cebede6.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1714:3
tests/main.test.ts > should allow range versions in devEngines.packageManager.version when user specifies exact version: tests/main.test.ts#L1727
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '', …(1) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "10.8.0 + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046:11) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) { + [cause]: Error: No mock found for https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (/home/runner/work/corepack/corepack/tests/recordRequests.js:79:22) + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22040:33) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + at async download (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22203:18) + at async installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22295:55) + at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22846:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22957:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) + } + + Node.js v22.21.1 ", + "stdout": "", } ❯ tests/main.test.ts:1727:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.3-eb329e0e16-ce4cebede6.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1714:3
tests/main.test.ts > should allow range versions in devEngines.packageManager.version when user specifies exact version: tests/main.test.ts#L1727
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '', …(1) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "10.8.0 + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046:11) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) { + [cause]: Error: No mock found for https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (/home/runner/work/corepack/corepack/tests/recordRequests.js:79:22) + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22040:33) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + at async download (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22203:18) + at async installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22295:55) + at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22846:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22957:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) + } + + Node.js v20.19.5 ", + "stdout": "", } ❯ tests/main.test.ts:1727:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.3-eb329e0e16-ce4cebede6.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1714:3
tests/main.test.ts > should allow range versions in devEngines.packageManager.version when user specifies exact version: tests/main.test.ts#L1727
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '', …(1) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "10.8.0 + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046:11) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) { + [cause]: Error: No mock found for https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (/home/runner/work/corepack/corepack/tests/recordRequests.js:79:22) + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22040:33) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + at async download (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22203:18) + at async installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22295:55) + at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22846:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22957:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) + } + + Node.js v22.21.1 ", + "stdout": "", } ❯ tests/main.test.ts:1727:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.3-eb329e0e16-ce4cebede6.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1714:3
tests/main.test.ts > should allow range versions in devEngines.packageManager.version when user specifies exact version: tests/main.test.ts#L1727
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '', …(1) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "10.8.0 + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046:11) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) { + [cause]: Error: No mock found for https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (/home/runner/work/corepack/corepack/tests/recordRequests.js:79:22) + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22040:33) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + at async download (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22203:18) + at async installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22295:55) + at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22846:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22957:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) + } + + Node.js v20.19.5 ", + "stdout": "", } ❯ tests/main.test.ts:1727:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.3-eb329e0e16-ce4cebede6.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1714:3
tests/main.test.ts > should allow range versions in devEngines.packageManager.version when user specifies exact version: tests/main.test.ts#L1727
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '', …(1) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "10.8.0 + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046:11) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) { + [cause]: Error: No mock found for https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (/home/runner/work/corepack/corepack/tests/recordRequests.js:79:22) + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22040:33) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + at async download (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22203:18) + at async installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22295:55) + at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22846:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22957:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) + } + + Node.js v22.21.1 ", + "stdout": "", } ❯ tests/main.test.ts:1727:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.3-eb329e0e16-ce4cebede6.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1714:3
macos-latest w/ Node.js 24.x
Process completed with exit code 1.
tests/main.test.ts > should allow range versions in devEngines.packageManager.version when user specifies exact version: tests/main.test.ts#L1727
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '', …(1) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "10.8.0 + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046:11) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) { + [cause]: Error: No mock found for https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (/Users/runner/work/corepack/corepack/tests/recordRequests.js:79:22) + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22040:33) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + at async download (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22203:18) + at async installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22295:55) + at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22846:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22957:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) + } + + Node.js v24.11.0 ", + "stdout": "", } ❯ tests/main.test.ts:1727:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.3-eb329e0e16-ce4cebede6.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1714:3
tests/main.test.ts > should allow range versions in devEngines.packageManager.version when user specifies exact version: tests/main.test.ts#L1727
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '', …(1) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "10.8.0 + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046:11) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) { + [cause]: Error: No mock found for https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (/Users/runner/work/corepack/corepack/tests/recordRequests.js:79:22) + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22040:33) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + at async download (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22203:18) + at async installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22295:55) + at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22846:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22957:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) + } + + Node.js v24.11.0 ", + "stdout": "", } ❯ tests/main.test.ts:1727:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.3-eb329e0e16-ce4cebede6.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1714:3
tests/main.test.ts > should allow range versions in devEngines.packageManager.version when user specifies exact version: tests/main.test.ts#L1727
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '', …(1) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "10.8.0 + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046:11) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) { + [cause]: Error: No mock found for https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (/Users/runner/work/corepack/corepack/tests/recordRequests.js:79:22) + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22040:33) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + at async download (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22203:18) + at async installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22295:55) + at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22846:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22957:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) + } + + Node.js v24.11.0 ", + "stdout": "", } ❯ tests/main.test.ts:1727:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.3-eb329e0e16-ce4cebede6.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1714:3
ubuntu-latest w/ Node.js 24.x
Process completed with exit code 1.
tests/main.test.ts > should allow range versions in devEngines.packageManager.version when user specifies exact version: tests/main.test.ts#L1727
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '', …(1) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "10.8.0 + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046:11) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) { + [cause]: Error: No mock found for https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (/home/runner/work/corepack/corepack/tests/recordRequests.js:79:22) + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22040:33) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + at async download (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22203:18) + at async installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22295:55) + at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22846:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22957:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) + } + + Node.js v24.11.0 ", + "stdout": "", } ❯ tests/main.test.ts:1727:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.3-eb329e0e16-ce4cebede6.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1714:3
tests/main.test.ts > should allow range versions in devEngines.packageManager.version when user specifies exact version: tests/main.test.ts#L1727
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '', …(1) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "10.8.0 + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046:11) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) { + [cause]: Error: No mock found for https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (/home/runner/work/corepack/corepack/tests/recordRequests.js:79:22) + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22040:33) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + at async download (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22203:18) + at async installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22295:55) + at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22846:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22957:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) + } + + Node.js v24.11.0 ", + "stdout": "", } ❯ tests/main.test.ts:1727:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.3-eb329e0e16-ce4cebede6.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1714:3
tests/main.test.ts > should allow range versions in devEngines.packageManager.version when user specifies exact version: tests/main.test.ts#L1727
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '', …(1) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "10.8.0 + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22046:11) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) { + [cause]: Error: No mock found for https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (/home/runner/work/corepack/corepack/tests/recordRequests.js:79:22) + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22040:33) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22076:20) + at async download (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22203:18) + at async installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22295:55) + at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22846:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22957:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23655:7) + } + + Node.js v24.11.0 ", + "stdout": "", } ❯ tests/main.test.ts:1727:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.3-eb329e0e16-ce4cebede6.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1714:3
windows-latest w/ Node.js 22.x
Process completed with exit code 1.
tests/main.test.ts > should allow range versions in devEngines.packageManager.version when user specifies exact version: tests/main.test.ts#L1727
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '', …(1) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "10.8.0 + "exitCode": 1, + "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22046 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22046:11) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22076:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23655:7) { + [cause]: Error: No mock found for https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (D:\\a\\corepack\\corepack\\tests\\recordRequests.js:79:22) + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22040:33) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22076:20) + at async download (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22203:18) + at async installVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22295:55) + at async Engine.ensurePackageManager (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22846:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22957:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23655:7) + } + + Node.js v22.21.0 ", + "stdout": "", } ❯ tests/main.test.ts:1727:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.3-eb329e0e16-ce4cebede6.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1714:3
tests/main.test.ts > should allow range versions in devEngines.packageManager.version when user specifies exact version: tests/main.test.ts#L1727
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '', …(1) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "10.8.0 + "exitCode": 1, + "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22046 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22046:11) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22076:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23655:7) { + [cause]: Error: No mock found for https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (D:\\a\\corepack\\corepack\\tests\\recordRequests.js:79:22) + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22040:33) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22076:20) + at async download (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22203:18) + at async installVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22295:55) + at async Engine.ensurePackageManager (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22846:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22957:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23655:7) + } + + Node.js v22.21.0 ", + "stdout": "", } ❯ tests/main.test.ts:1727:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.3-eb329e0e16-ce4cebede6.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1714:3
tests/main.test.ts > should allow range versions in devEngines.packageManager.version when user specifies exact version: tests/main.test.ts#L1727
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '', …(1) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "10.8.0 + "exitCode": 1, + "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22046 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22046:11) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22076:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23655:7) { + [cause]: Error: No mock found for https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (D:\\a\\corepack\\corepack\\tests\\recordRequests.js:79:22) + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22040:33) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22076:20) + at async download (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22203:18) + at async installVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22295:55) + at async Engine.ensurePackageManager (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22846:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22957:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23655:7) + } + + Node.js v22.21.0 ", + "stdout": "", } ❯ tests/main.test.ts:1727:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.3-eb329e0e16-ce4cebede6.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1714:3
windows-latest w/ Node.js 20.x
Process completed with exit code 1.
tests/main.test.ts > should allow range versions in devEngines.packageManager.version when user specifies exact version: tests/main.test.ts#L1727
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '', …(1) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "10.8.0 + "exitCode": 1, + "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22046 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22046:11) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22076:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23655:7) { + [cause]: Error: No mock found for https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (D:\\a\\corepack\\corepack\\tests\\recordRequests.js:79:22) + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22040:33) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22076:20) + at async download (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22203:18) + at async installVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22295:55) + at async Engine.ensurePackageManager (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22846:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22957:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23655:7) + } + + Node.js v20.19.5 ", + "stdout": "", } ❯ tests/main.test.ts:1727:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.3-eb329e0e16-ce4cebede6.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1714:3
tests/main.test.ts > should allow range versions in devEngines.packageManager.version when user specifies exact version: tests/main.test.ts#L1727
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '', …(1) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "10.8.0 + "exitCode": 1, + "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22046 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22046:11) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22076:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23655:7) { + [cause]: Error: No mock found for https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (D:\\a\\corepack\\corepack\\tests\\recordRequests.js:79:22) + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22040:33) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22076:20) + at async download (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22203:18) + at async installVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22295:55) + at async Engine.ensurePackageManager (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22846:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22957:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23655:7) + } + + Node.js v20.19.5 ", + "stdout": "", } ❯ tests/main.test.ts:1727:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.3-eb329e0e16-ce4cebede6.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1714:3
tests/main.test.ts > should allow range versions in devEngines.packageManager.version when user specifies exact version: tests/main.test.ts#L1727
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '', …(1) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "10.8.0 + "exitCode": 1, + "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22046 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22046:11) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22076:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23655:7) { + [cause]: Error: No mock found for https://registry.npmjs.org/npm/-/npm-10.8.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (D:\\a\\corepack\\corepack\\tests\\recordRequests.js:79:22) + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22040:33) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22076:20) + at async download (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22203:18) + at async installVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22295:55) + at async Engine.ensurePackageManager (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22846:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22957:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23655:7) + } + + Node.js v20.19.5 ", + "stdout": "", } ❯ tests/main.test.ts:1727:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.3-eb329e0e16-ce4cebede6.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1714:3
tests/main.test.ts > should support hydrating multiple package managers from cached archives: tests/main.test.ts#L13
Error: Hook timed out in 10000ms. If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout". ❯ tests/main.test.ts:13:1
tests/main.test.ts > should support hydrating multiple package managers from cached archives: tests/main.test.ts#L1008
Error: Test timed out in 180000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ tests/main.test.ts:1008:1
tests/main.test.ts > should support hydrating multiple package managers from cached archives: tests/main.test.ts#L13
Error: Hook timed out in 10000ms. If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout". ❯ tests/main.test.ts:13:1
tests/main.test.ts > should support hydrating multiple package managers from cached archives: tests/main.test.ts#L1008
Error: Test timed out in 180000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ tests/main.test.ts:1008:1
tests/main.test.ts > should support hydrating multiple package managers from cached archives: tests/main.test.ts#L1008
Error: Test timed out in 180000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ tests/main.test.ts:1008:1