Skip to content

chore(deps): bump engine support matrix #1556

chore(deps): bump engine support matrix

chore(deps): bump engine support matrix #1556

Triggered via pull request May 6, 2026 09:44
Status Failure
Total duration 17m 31s
Artifacts

ci.yml

on: pull_request
Testing chores
18s
Testing chores
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

23 errors and 2 notices
Testing chores
Process completed with exit code 1.
Testing chores: tests/recordRequests.js#L4
There should be no space before '}'
Testing chores: tests/recordRequests.js#L4
There should be no space after '{'
tests/main.test.ts > custom registry with auth PROXY > should download custom package manager: tests/main.test.ts#L1513
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "customPkgManager: Hello from custom registry + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141 + throw new Error( + ^ + + Error: Error when performing the request to http://example.com/customPkgManager/-/customPkgManager-1.0.0.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141:11) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22171:20) + at async download (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22342:18) + at async installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22438:55) + at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22952:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23063:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23763:7) { + [cause]: [TypeError: fetch failed] { + [cause]: InvalidArgumentError: invalid onError method + at Agent.dispatch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:5684:19) + at ProxyAgent2.dispatch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:12515:29) + at node:internal/deps/undici/undici:13645:57 + at new Promise (<anonymous>) + at dispatchWithProtocolPreference (node:internal/deps/undici/undici:13645:18) + at dispatch (node:internal/deps/undici/undici:13643:16) + at httpNetworkFetch (node:internal/deps/undici/undici:13541:73) + at httpNetworkOrCacheFetch (node:internal/deps/undici/undici:13411:39) + at httpFetch (node:internal/deps/undici/undici:13233:43) + at schemeFetch (node:internal/deps/undici/undici:13150:18) { + code: 'UND_ERR_INVALID_ARG', + Symbol(undici.error.UND_ERR): true, + Symbol(undici.error.UND_ERR_INVALID_ARG): true + } + } + } + + Node.js v26.0.0 ", + "stdout": "", } ❯ tests/main.test.ts:1513:9 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.5-7ab761fefd-e360209a31.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1512:7
tests/main.test.ts > custom registry with auth PROXY > should download pnpm: tests/main.test.ts#L1503
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "pnpm: Hello from custom registry + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141 + throw new Error( + ^ + + Error: Error when performing the request to http://example.com/pnpm; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141:11) + at async fetchAsJson (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22155:20) + at async fetchAvailableVersions (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22098:20) + at async fetchAvailableVersions2 (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22280:14) + at async /home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:25 + at async Promise.all (index 0) + at async Engine.resolveDescriptor (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23099:22) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23060:22) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23763:7) { + [cause]: [TypeError: fetch failed] { + [cause]: InvalidArgumentError: invalid onError method + at Agent.dispatch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:5684:19) + at ProxyAgent2.dispatch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:12515:29) + at node:internal/deps/undici/undici:13645:57 + at new Promise (<anonymous>) + at dispatchWithProtocolPreference (node:internal/deps/undici/undici:13645:18) + at dispatch (node:internal/deps/undici/undici:13643:16) + at httpNetworkFetch (node:internal/deps/undici/undici:13541:73) + at httpNetworkOrCacheFetch (node:internal/deps/undici/undici:13411:39) + at httpFetch (node:internal/deps/undici/undici:13233:43) + at schemeFetch (node:internal/deps/undici/undici:13150:18) { + code: 'UND_ERR_INVALID_ARG', + Symbol(undici.error.UND_ERR): true, + Symbol(undici.error.UND_ERR_INVALID_ARG): true + } + } + } + + Node.js v26.0.0 ", + "stdout": "", } ❯ tests/main.test.ts:1503:9 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.5-7ab761fefd-e360209a31.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1502:7
tests/main.test.ts > custom registry with auth PROXY > should download pnpm: tests/main.test.ts#L1503
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "pnpm: Hello from custom registry + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141 + throw new Error( + ^ + + Error: Error when performing the request to http://example.com/pnpm; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141:11) + at async fetchAsJson (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22155:20) + at async fetchAvailableVersions (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22098:20) + at async fetchAvailableVersions2 (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22280:14) + at async /home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:25 + at async Promise.all (index 0) + at async Engine.resolveDescriptor (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23099:22) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23060:22) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23763:7) { + [cause]: [TypeError: fetch failed] { + [cause]: InvalidArgumentError: invalid onError method + at Agent.dispatch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:5684:19) + at ProxyAgent2.dispatch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:12515:29) + at node:internal/deps/undici/undici:13645:57 + at new Promise (<anonymous>) + at dispatchWithProtocolPreference (node:internal/deps/undici/undici:13645:18) + at dispatch (node:internal/deps/undici/undici:13643:16) + at httpNetworkFetch (node:internal/deps/undici/undici:13541:73) + at httpNetworkOrCacheFetch (node:internal/deps/undici/undici:13411:39) + at httpFetch (node:internal/deps/undici/undici:13233:43) + at schemeFetch (node:internal/deps/undici/undici:13150:18) { + code: 'UND_ERR_INVALID_ARG', + Symbol(undici.error.UND_ERR): true, + Symbol(undici.error.UND_ERR_INVALID_ARG): true + } + } + } + + Node.js v26.0.0 ", + "stdout": "", } ❯ tests/main.test.ts:1503:9 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.5-7ab761fefd-e360209a31.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1502:7
tests/main.test.ts > custom registry with auth PROXY > should download pnpm: tests/main.test.ts#L1503
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "pnpm: Hello from custom registry + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141 + throw new Error( + ^ + + Error: Error when performing the request to http://example.com/pnpm; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141:11) + at async fetchAsJson (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22155:20) + at async fetchAvailableVersions (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22098:20) + at async fetchAvailableVersions2 (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22280:14) + at async /home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:25 + at async Promise.all (index 0) + at async Engine.resolveDescriptor (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23099:22) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23060:22) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23763:7) { + [cause]: [TypeError: fetch failed] { + [cause]: InvalidArgumentError: invalid onError method + at Agent.dispatch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:5684:19) + at ProxyAgent2.dispatch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:12515:29) + at node:internal/deps/undici/undici:13645:57 + at new Promise (<anonymous>) + at dispatchWithProtocolPreference (node:internal/deps/undici/undici:13645:18) + at dispatch (node:internal/deps/undici/undici:13643:16) + at httpNetworkFetch (node:internal/deps/undici/undici:13541:73) + at httpNetworkOrCacheFetch (node:internal/deps/undici/undici:13411:39) + at httpFetch (node:internal/deps/undici/undici:13233:43) + at schemeFetch (node:internal/deps/undici/undici:13150:18) { + code: 'UND_ERR_INVALID_ARG', + Symbol(undici.error.UND_ERR): true, + Symbol(undici.error.UND_ERR_INVALID_ARG): true + } + } + } + + Node.js v26.0.0 ", + "stdout": "", } ❯ tests/main.test.ts:1503:9 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.5-7ab761fefd-e360209a31.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1502:7
tests/main.test.ts > custom registry with auth PROXY > should download yarn berry: tests/main.test.ts#L1493
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "yarn: Hello from custom registry + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141 + throw new Error( + ^ + + Error: Error when performing the request to http://example.com/yarn; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141:11) + at async fetchAsJson (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22155:20) + at async fetchAvailableVersions (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22098:20) + at async fetchAvailableVersions2 (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22280:14) + at async /home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:25 + at async Promise.all (index 0) + at async Engine.resolveDescriptor (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23099:22) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23060:22) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23763:7) { + [cause]: [TypeError: fetch failed] { + [cause]: InvalidArgumentError: invalid onError method + at Agent.dispatch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:5684:19) + at ProxyAgent2.dispatch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:12515:29) + at node:internal/deps/undici/undici:13645:57 + at new Promise (<anonymous>) + at dispatchWithProtocolPreference (node:internal/deps/undici/undici:13645:18) + at dispatch (node:internal/deps/undici/undici:13643:16) + at httpNetworkFetch (node:internal/deps/undici/undici:13541:73) + at httpNetworkOrCacheFetch (node:internal/deps/undici/undici:13411:39) + at httpFetch (node:internal/deps/undici/undici:13233:43) + at schemeFetch (node:internal/deps/undici/undici:13150:18) { + code: 'UND_ERR_INVALID_ARG', + Symbol(undici.error.UND_ERR): true, + Symbol(undici.error.UND_ERR_INVALID_ARG): true + } + } + } + + Node.js v26.0.0 ", + "stdout": "", } ❯ tests/main.test.ts:1493:9 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.5-7ab761fefd-e360209a31.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1488:7
tests/main.test.ts > custom registry with auth PROXY > should download yarn berry: tests/main.test.ts#L1493
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "yarn: Hello from custom registry + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141 + throw new Error( + ^ + + Error: Error when performing the request to http://example.com/yarn; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141:11) + at async fetchAsJson (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22155:20) + at async fetchAvailableVersions (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22098:20) + at async fetchAvailableVersions2 (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22280:14) + at async /home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:25 + at async Promise.all (index 0) + at async Engine.resolveDescriptor (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23099:22) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23060:22) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23763:7) { + [cause]: [TypeError: fetch failed] { + [cause]: InvalidArgumentError: invalid onError method + at Agent.dispatch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:5684:19) + at ProxyAgent2.dispatch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:12515:29) + at node:internal/deps/undici/undici:13645:57 + at new Promise (<anonymous>) + at dispatchWithProtocolPreference (node:internal/deps/undici/undici:13645:18) + at dispatch (node:internal/deps/undici/undici:13643:16) + at httpNetworkFetch (node:internal/deps/undici/undici:13541:73) + at httpNetworkOrCacheFetch (node:internal/deps/undici/undici:13411:39) + at httpFetch (node:internal/deps/undici/undici:13233:43) + at schemeFetch (node:internal/deps/undici/undici:13150:18) { + code: 'UND_ERR_INVALID_ARG', + Symbol(undici.error.UND_ERR): true, + Symbol(undici.error.UND_ERR_INVALID_ARG): true + } + } + } + + Node.js v26.0.0 ", + "stdout": "", } ❯ tests/main.test.ts:1493:9 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.5-7ab761fefd-e360209a31.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1488:7
tests/main.test.ts > custom registry with auth PROXY > should download yarn berry: tests/main.test.ts#L1493
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "yarn: Hello from custom registry + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141 + throw new Error( + ^ + + Error: Error when performing the request to http://example.com/yarn; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141:11) + at async fetchAsJson (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22155:20) + at async fetchAvailableVersions (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22098:20) + at async fetchAvailableVersions2 (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22280:14) + at async /home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:25 + at async Promise.all (index 0) + at async Engine.resolveDescriptor (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23099:22) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23060:22) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23763:7) { + [cause]: [TypeError: fetch failed] { + [cause]: InvalidArgumentError: invalid onError method + at Agent.dispatch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:5684:19) + at ProxyAgent2.dispatch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:12515:29) + at node:internal/deps/undici/undici:13645:57 + at new Promise (<anonymous>) + at dispatchWithProtocolPreference (node:internal/deps/undici/undici:13645:18) + at dispatch (node:internal/deps/undici/undici:13643:16) + at httpNetworkFetch (node:internal/deps/undici/undici:13541:73) + at httpNetworkOrCacheFetch (node:internal/deps/undici/undici:13411:39) + at httpFetch (node:internal/deps/undici/undici:13233:43) + at schemeFetch (node:internal/deps/undici/undici:13150:18) { + code: 'UND_ERR_INVALID_ARG', + Symbol(undici.error.UND_ERR): true, + Symbol(undici.error.UND_ERR_INVALID_ARG): true + } + } + } + + Node.js v26.0.0 ", + "stdout": "", } ❯ tests/main.test.ts:1493:9 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.5-7ab761fefd-e360209a31.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1488:7
tests/main.test.ts > custom registry with auth PROXY > should download yarn classic: tests/main.test.ts#L1479
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "yarn: Hello from custom registry + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141 + throw new Error( + ^ + + Error: Error when performing the request to http://example.com/yarn; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141:11) + at async fetchAsJson (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22155:20) + at async fetchAvailableVersions (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22098:20) + at async fetchAvailableVersions2 (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22280:14) + at async /home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:25 + at async Promise.all (index 0) + at async Engine.resolveDescriptor (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23099:22) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23060:22) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23763:7) { + [cause]: [TypeError: fetch failed] { + [cause]: InvalidArgumentError: invalid onError method + at Agent.dispatch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:5684:19) + at ProxyAgent2.dispatch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:12515:29) + at node:internal/deps/undici/undici:13645:57 + at new Promise (<anonymous>) + at dispatchWithProtocolPreference (node:internal/deps/undici/undici:13645:18) + at dispatch (node:internal/deps/undici/undici:13643:16) + at httpNetworkFetch (node:internal/deps/undici/undici:13541:73) + at httpNetworkOrCacheFetch (node:internal/deps/undici/undici:13411:39) + at httpFetch (node:internal/deps/undici/undici:13233:43) + at schemeFetch (node:internal/deps/undici/undici:13150:18) { + code: 'UND_ERR_INVALID_ARG', + Symbol(undici.error.UND_ERR): true, + Symbol(undici.error.UND_ERR_INVALID_ARG): true + } + } + } + + Node.js v26.0.0 ", + "stdout": "", } ❯ tests/main.test.ts:1479:9 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.5-7ab761fefd-e360209a31.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1478:7
tests/main.test.ts > custom registry with auth PROXY > should download yarn classic: tests/main.test.ts#L1479
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "yarn: Hello from custom registry + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141 + throw new Error( + ^ + + Error: Error when performing the request to http://example.com/yarn; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141:11) + at async fetchAsJson (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22155:20) + at async fetchAvailableVersions (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22098:20) + at async fetchAvailableVersions2 (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22280:14) + at async /home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:25 + at async Promise.all (index 0) + at async Engine.resolveDescriptor (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23099:22) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23060:22) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23763:7) { + [cause]: [TypeError: fetch failed] { + [cause]: InvalidArgumentError: invalid onError method + at Agent.dispatch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:5684:19) + at ProxyAgent2.dispatch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:12515:29) + at node:internal/deps/undici/undici:13645:57 + at new Promise (<anonymous>) + at dispatchWithProtocolPreference (node:internal/deps/undici/undici:13645:18) + at dispatch (node:internal/deps/undici/undici:13643:16) + at httpNetworkFetch (node:internal/deps/undici/undici:13541:73) + at httpNetworkOrCacheFetch (node:internal/deps/undici/undici:13411:39) + at httpFetch (node:internal/deps/undici/undici:13233:43) + at schemeFetch (node:internal/deps/undici/undici:13150:18) { + code: 'UND_ERR_INVALID_ARG', + Symbol(undici.error.UND_ERR): true, + Symbol(undici.error.UND_ERR_INVALID_ARG): true + } + } + } + + Node.js v26.0.0 ", + "stdout": "", } ❯ tests/main.test.ts:1479:9 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.5-7ab761fefd-e360209a31.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1478:7
tests/main.test.ts > custom registry with auth PROXY > should download yarn classic: tests/main.test.ts#L1479
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "yarn: Hello from custom registry + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141 + throw new Error( + ^ + + Error: Error when performing the request to http://example.com/yarn; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141:11) + at async fetchAsJson (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22155:20) + at async fetchAvailableVersions (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22098:20) + at async fetchAvailableVersions2 (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22280:14) + at async /home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:25 + at async Promise.all (index 0) + at async Engine.resolveDescriptor (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23099:22) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23060:22) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23763:7) { + [cause]: [TypeError: fetch failed] { + [cause]: InvalidArgumentError: invalid onError method + at Agent.dispatch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:5684:19) + at ProxyAgent2.dispatch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:12515:29) + at node:internal/deps/undici/undici:13645:57 + at new Promise (<anonymous>) + at dispatchWithProtocolPreference (node:internal/deps/undici/undici:13645:18) + at dispatch (node:internal/deps/undici/undici:13643:16) + at httpNetworkFetch (node:internal/deps/undici/undici:13541:73) + at httpNetworkOrCacheFetch (node:internal/deps/undici/undici:13411:39) + at httpFetch (node:internal/deps/undici/undici:13233:43) + at schemeFetch (node:internal/deps/undici/undici:13150:18) { + code: 'UND_ERR_INVALID_ARG', + Symbol(undici.error.UND_ERR): true, + Symbol(undici.error.UND_ERR_INVALID_ARG): true + } + } + } + + Node.js v26.0.0 ", + "stdout": "", } ❯ tests/main.test.ts:1479:9 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.5-7ab761fefd-e360209a31.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1478:7
tests/main.test.ts > custom registry with auth PROXY > should download custom package manager: tests/main.test.ts#L1513
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "customPkgManager: Hello from custom registry + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141 + throw new Error( + ^ + + Error: Error when performing the request to http://example.com/customPkgManager/-/customPkgManager-1.0.0.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141:11) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22171:20) + at async download (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22342:18) + at async installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22438:55) + at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22952:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23063:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23763:7) { + [cause]: [TypeError: fetch failed] { + [cause]: InvalidArgumentError: invalid onError method + at Agent.dispatch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:5684:19) + at ProxyAgent2.dispatch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:12515:29) + at node:internal/deps/undici/undici:13645:57 + at new Promise (<anonymous>) + at dispatchWithProtocolPreference (node:internal/deps/undici/undici:13645:18) + at dispatch (node:internal/deps/undici/undici:13643:16) + at httpNetworkFetch (node:internal/deps/undici/undici:13541:73) + at httpNetworkOrCacheFetch (node:internal/deps/undici/undici:13411:39) + at httpFetch (node:internal/deps/undici/undici:13233:43) + at schemeFetch (node:internal/deps/undici/undici:13150:18) { + code: 'UND_ERR_INVALID_ARG', + Symbol(undici.error.UND_ERR): true, + Symbol(undici.error.UND_ERR_INVALID_ARG): true + } + } + } + + Node.js v26.0.0 ", + "stdout": "", } ❯ tests/main.test.ts:1513:9 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.5-7ab761fefd-e360209a31.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1512:7
tests/main.test.ts > custom registry with auth PROXY > should download pnpm: tests/main.test.ts#L1503
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "pnpm: Hello from custom registry + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141 + throw new Error( + ^ + + Error: Error when performing the request to http://example.com/pnpm; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141:11) + at async fetchAsJson (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22155:20) + at async fetchAvailableVersions (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22098:20) + at async fetchAvailableVersions2 (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22280:14) + at async /Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:25 + at async Promise.all (index 0) + at async Engine.resolveDescriptor (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23099:22) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23060:22) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23763:7) { + [cause]: [TypeError: fetch failed] { + [cause]: InvalidArgumentError: invalid onError method + at Agent.dispatch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:5684:19) + at ProxyAgent2.dispatch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:12515:29) + at node:internal/deps/undici/undici:13645:57 + at new Promise (<anonymous>) + at dispatchWithProtocolPreference (node:internal/deps/undici/undici:13645:18) + at dispatch (node:internal/deps/undici/undici:13643:16) + at httpNetworkFetch (node:internal/deps/undici/undici:13541:73) + at httpNetworkOrCacheFetch (node:internal/deps/undici/undici:13411:39) + at httpFetch (node:internal/deps/undici/undici:13233:43) + at schemeFetch (node:internal/deps/undici/undici:13150:18) { + code: 'UND_ERR_INVALID_ARG', + Symbol(undici.error.UND_ERR): true, + Symbol(undici.error.UND_ERR_INVALID_ARG): true + } + } + } + + Node.js v26.0.0 ", + "stdout": "", } ❯ tests/main.test.ts:1503:9 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.5-7ab761fefd-e360209a31.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1502:7
tests/main.test.ts > custom registry with auth PROXY > should download pnpm: tests/main.test.ts#L1503
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "pnpm: Hello from custom registry + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141 + throw new Error( + ^ + + Error: Error when performing the request to http://example.com/pnpm; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141:11) + at async fetchAsJson (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22155:20) + at async fetchAvailableVersions (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22098:20) + at async fetchAvailableVersions2 (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22280:14) + at async /Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:25 + at async Promise.all (index 0) + at async Engine.resolveDescriptor (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23099:22) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23060:22) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23763:7) { + [cause]: [TypeError: fetch failed] { + [cause]: InvalidArgumentError: invalid onError method + at Agent.dispatch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:5684:19) + at ProxyAgent2.dispatch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:12515:29) + at node:internal/deps/undici/undici:13645:57 + at new Promise (<anonymous>) + at dispatchWithProtocolPreference (node:internal/deps/undici/undici:13645:18) + at dispatch (node:internal/deps/undici/undici:13643:16) + at httpNetworkFetch (node:internal/deps/undici/undici:13541:73) + at httpNetworkOrCacheFetch (node:internal/deps/undici/undici:13411:39) + at httpFetch (node:internal/deps/undici/undici:13233:43) + at schemeFetch (node:internal/deps/undici/undici:13150:18) { + code: 'UND_ERR_INVALID_ARG', + Symbol(undici.error.UND_ERR): true, + Symbol(undici.error.UND_ERR_INVALID_ARG): true + } + } + } + + Node.js v26.0.0 ", + "stdout": "", } ❯ tests/main.test.ts:1503:9 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.5-7ab761fefd-e360209a31.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1502:7
tests/main.test.ts > custom registry with auth PROXY > should download pnpm: tests/main.test.ts#L1503
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "pnpm: Hello from custom registry + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141 + throw new Error( + ^ + + Error: Error when performing the request to http://example.com/pnpm; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141:11) + at async fetchAsJson (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22155:20) + at async fetchAvailableVersions (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22098:20) + at async fetchAvailableVersions2 (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22280:14) + at async /Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:25 + at async Promise.all (index 0) + at async Engine.resolveDescriptor (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23099:22) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23060:22) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23763:7) { + [cause]: [TypeError: fetch failed] { + [cause]: InvalidArgumentError: invalid onError method + at Agent.dispatch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:5684:19) + at ProxyAgent2.dispatch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:12515:29) + at node:internal/deps/undici/undici:13645:57 + at new Promise (<anonymous>) + at dispatchWithProtocolPreference (node:internal/deps/undici/undici:13645:18) + at dispatch (node:internal/deps/undici/undici:13643:16) + at httpNetworkFetch (node:internal/deps/undici/undici:13541:73) + at httpNetworkOrCacheFetch (node:internal/deps/undici/undici:13411:39) + at httpFetch (node:internal/deps/undici/undici:13233:43) + at schemeFetch (node:internal/deps/undici/undici:13150:18) { + code: 'UND_ERR_INVALID_ARG', + Symbol(undici.error.UND_ERR): true, + Symbol(undici.error.UND_ERR_INVALID_ARG): true + } + } + } + + Node.js v26.0.0 ", + "stdout": "", } ❯ tests/main.test.ts:1503:9 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.5-7ab761fefd-e360209a31.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1502:7
tests/main.test.ts > custom registry with auth PROXY > should download yarn berry: tests/main.test.ts#L1493
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "yarn: Hello from custom registry + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141 + throw new Error( + ^ + + Error: Error when performing the request to http://example.com/yarn; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141:11) + at async fetchAsJson (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22155:20) + at async fetchAvailableVersions (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22098:20) + at async fetchAvailableVersions2 (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22280:14) + at async /Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:25 + at async Promise.all (index 0) + at async Engine.resolveDescriptor (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23099:22) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23060:22) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23763:7) { + [cause]: [TypeError: fetch failed] { + [cause]: InvalidArgumentError: invalid onError method + at Agent.dispatch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:5684:19) + at ProxyAgent2.dispatch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:12515:29) + at node:internal/deps/undici/undici:13645:57 + at new Promise (<anonymous>) + at dispatchWithProtocolPreference (node:internal/deps/undici/undici:13645:18) + at dispatch (node:internal/deps/undici/undici:13643:16) + at httpNetworkFetch (node:internal/deps/undici/undici:13541:73) + at httpNetworkOrCacheFetch (node:internal/deps/undici/undici:13411:39) + at httpFetch (node:internal/deps/undici/undici:13233:43) + at schemeFetch (node:internal/deps/undici/undici:13150:18) { + code: 'UND_ERR_INVALID_ARG', + Symbol(undici.error.UND_ERR): true, + Symbol(undici.error.UND_ERR_INVALID_ARG): true + } + } + } + + Node.js v26.0.0 ", + "stdout": "", } ❯ tests/main.test.ts:1493:9 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.5-7ab761fefd-e360209a31.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1488:7
tests/main.test.ts > custom registry with auth PROXY > should download yarn berry: tests/main.test.ts#L1493
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "yarn: Hello from custom registry + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141 + throw new Error( + ^ + + Error: Error when performing the request to http://example.com/yarn; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141:11) + at async fetchAsJson (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22155:20) + at async fetchAvailableVersions (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22098:20) + at async fetchAvailableVersions2 (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22280:14) + at async /Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:25 + at async Promise.all (index 0) + at async Engine.resolveDescriptor (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23099:22) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23060:22) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23763:7) { + [cause]: [TypeError: fetch failed] { + [cause]: InvalidArgumentError: invalid onError method + at Agent.dispatch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:5684:19) + at ProxyAgent2.dispatch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:12515:29) + at node:internal/deps/undici/undici:13645:57 + at new Promise (<anonymous>) + at dispatchWithProtocolPreference (node:internal/deps/undici/undici:13645:18) + at dispatch (node:internal/deps/undici/undici:13643:16) + at httpNetworkFetch (node:internal/deps/undici/undici:13541:73) + at httpNetworkOrCacheFetch (node:internal/deps/undici/undici:13411:39) + at httpFetch (node:internal/deps/undici/undici:13233:43) + at schemeFetch (node:internal/deps/undici/undici:13150:18) { + code: 'UND_ERR_INVALID_ARG', + Symbol(undici.error.UND_ERR): true, + Symbol(undici.error.UND_ERR_INVALID_ARG): true + } + } + } + + Node.js v26.0.0 ", + "stdout": "", } ❯ tests/main.test.ts:1493:9 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.5-7ab761fefd-e360209a31.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1488:7
tests/main.test.ts > custom registry with auth PROXY > should download yarn berry: tests/main.test.ts#L1493
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "yarn: Hello from custom registry + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141 + throw new Error( + ^ + + Error: Error when performing the request to http://example.com/yarn; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141:11) + at async fetchAsJson (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22155:20) + at async fetchAvailableVersions (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22098:20) + at async fetchAvailableVersions2 (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22280:14) + at async /Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:25 + at async Promise.all (index 0) + at async Engine.resolveDescriptor (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23099:22) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23060:22) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23763:7) { + [cause]: [TypeError: fetch failed] { + [cause]: InvalidArgumentError: invalid onError method + at Agent.dispatch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:5684:19) + at ProxyAgent2.dispatch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:12515:29) + at node:internal/deps/undici/undici:13645:57 + at new Promise (<anonymous>) + at dispatchWithProtocolPreference (node:internal/deps/undici/undici:13645:18) + at dispatch (node:internal/deps/undici/undici:13643:16) + at httpNetworkFetch (node:internal/deps/undici/undici:13541:73) + at httpNetworkOrCacheFetch (node:internal/deps/undici/undici:13411:39) + at httpFetch (node:internal/deps/undici/undici:13233:43) + at schemeFetch (node:internal/deps/undici/undici:13150:18) { + code: 'UND_ERR_INVALID_ARG', + Symbol(undici.error.UND_ERR): true, + Symbol(undici.error.UND_ERR_INVALID_ARG): true + } + } + } + + Node.js v26.0.0 ", + "stdout": "", } ❯ tests/main.test.ts:1493:9 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.5-7ab761fefd-e360209a31.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1488:7
tests/main.test.ts > custom registry with auth PROXY > should download yarn classic: tests/main.test.ts#L1479
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "yarn: Hello from custom registry + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141 + throw new Error( + ^ + + Error: Error when performing the request to http://example.com/yarn; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141:11) + at async fetchAsJson (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22155:20) + at async fetchAvailableVersions (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22098:20) + at async fetchAvailableVersions2 (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22280:14) + at async /Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:25 + at async Promise.all (index 0) + at async Engine.resolveDescriptor (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23099:22) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23060:22) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23763:7) { + [cause]: [TypeError: fetch failed] { + [cause]: InvalidArgumentError: invalid onError method + at Agent.dispatch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:5684:19) + at ProxyAgent2.dispatch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:12515:29) + at node:internal/deps/undici/undici:13645:57 + at new Promise (<anonymous>) + at dispatchWithProtocolPreference (node:internal/deps/undici/undici:13645:18) + at dispatch (node:internal/deps/undici/undici:13643:16) + at httpNetworkFetch (node:internal/deps/undici/undici:13541:73) + at httpNetworkOrCacheFetch (node:internal/deps/undici/undici:13411:39) + at httpFetch (node:internal/deps/undici/undici:13233:43) + at schemeFetch (node:internal/deps/undici/undici:13150:18) { + code: 'UND_ERR_INVALID_ARG', + Symbol(undici.error.UND_ERR): true, + Symbol(undici.error.UND_ERR_INVALID_ARG): true + } + } + } + + Node.js v26.0.0 ", + "stdout": "", } ❯ tests/main.test.ts:1479:9 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.5-7ab761fefd-e360209a31.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1478:7
tests/main.test.ts > custom registry with auth PROXY > should download yarn classic: tests/main.test.ts#L1479
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "yarn: Hello from custom registry + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141 + throw new Error( + ^ + + Error: Error when performing the request to http://example.com/yarn; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141:11) + at async fetchAsJson (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22155:20) + at async fetchAvailableVersions (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22098:20) + at async fetchAvailableVersions2 (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22280:14) + at async /Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:25 + at async Promise.all (index 0) + at async Engine.resolveDescriptor (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23099:22) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23060:22) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23763:7) { + [cause]: [TypeError: fetch failed] { + [cause]: InvalidArgumentError: invalid onError method + at Agent.dispatch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:5684:19) + at ProxyAgent2.dispatch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:12515:29) + at node:internal/deps/undici/undici:13645:57 + at new Promise (<anonymous>) + at dispatchWithProtocolPreference (node:internal/deps/undici/undici:13645:18) + at dispatch (node:internal/deps/undici/undici:13643:16) + at httpNetworkFetch (node:internal/deps/undici/undici:13541:73) + at httpNetworkOrCacheFetch (node:internal/deps/undici/undici:13411:39) + at httpFetch (node:internal/deps/undici/undici:13233:43) + at schemeFetch (node:internal/deps/undici/undici:13150:18) { + code: 'UND_ERR_INVALID_ARG', + Symbol(undici.error.UND_ERR): true, + Symbol(undici.error.UND_ERR_INVALID_ARG): true + } + } + } + + Node.js v26.0.0 ", + "stdout": "", } ❯ tests/main.test.ts:1479:9 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.5-7ab761fefd-e360209a31.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1478:7
tests/main.test.ts > custom registry with auth PROXY > should download yarn classic: tests/main.test.ts#L1479
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "yarn: Hello from custom registry + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141 + throw new Error( + ^ + + Error: Error when performing the request to http://example.com/yarn; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22141:11) + at async fetchAsJson (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22155:20) + at async fetchAvailableVersions (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22098:20) + at async fetchAvailableVersions2 (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22280:14) + at async /Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:25 + at async Promise.all (index 0) + at async Engine.resolveDescriptor (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23099:22) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23060:22) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23763:7) { + [cause]: [TypeError: fetch failed] { + [cause]: InvalidArgumentError: invalid onError method + at Agent.dispatch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:5684:19) + at ProxyAgent2.dispatch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:12515:29) + at node:internal/deps/undici/undici:13645:57 + at new Promise (<anonymous>) + at dispatchWithProtocolPreference (node:internal/deps/undici/undici:13645:18) + at dispatch (node:internal/deps/undici/undici:13643:16) + at httpNetworkFetch (node:internal/deps/undici/undici:13541:73) + at httpNetworkOrCacheFetch (node:internal/deps/undici/undici:13411:39) + at httpFetch (node:internal/deps/undici/undici:13233:43) + at schemeFetch (node:internal/deps/undici/undici:13150:18) { + code: 'UND_ERR_INVALID_ARG', + Symbol(undici.error.UND_ERR): true, + Symbol(undici.error.UND_ERR_INVALID_ARG): true + } + } + } + + Node.js v26.0.0 ", + "stdout": "", } ❯ tests/main.test.ts:1479:9 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.5-7ab761fefd-e360209a31.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1478:7
windows-latest w/ Node.js 22.x
NOTICE: windows-2025 requests are being redirected to windows-2025-vs2026 by May 12, 2026
windows-latest w/ Node.js 26.x
NOTICE: windows-2025 requests are being redirected to windows-2025-vs2026 by May 12, 2026