Skip to content

feat: update package manager versions #1145

feat: update package manager versions

feat: update package manager versions #1145

Triggered via pull request November 23, 2024 10:46
Status Failure
Total duration 13m 58s
Artifacts

ci.yml

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

Annotations

120 errors
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v22.11.0 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v22.11.0 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v22.11.0 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should refuse to run a different package manager within a configured project: tests/main.test.ts#L437
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { Object (stdout, stderr, ...) } - Expected + Received Object { - "exitCode": 0, - "stderr": "", - "stdout": "9.14.2 + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/pnpm/-/pnpm-9.14.2.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://registry.npmjs.org/pnpm/-/pnpm-9.14.2.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:21603:33) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v22.11.0 ", + "stdout": "", } ❯ tests/main.test.ts:437:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:414:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v20.18.0 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v20.18.0 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v20.18.0 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should refuse to run a different package manager within a configured project: tests/main.test.ts#L437
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { Object (stdout, stderr, ...) } - Expected + Received Object { - "exitCode": 0, - "stderr": "", - "stdout": "9.14.2 + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/pnpm/-/pnpm-9.14.2.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://registry.npmjs.org/pnpm/-/pnpm-9.14.2.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:21603:33) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v20.18.0 ", + "stdout": "", } ❯ tests/main.test.ts:437:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:414:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v18.20.5 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v18.20.5 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v18.20.5 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should refuse to run a different package manager within a configured project: tests/main.test.ts#L437
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { Object (stdout, stderr, ...) } - Expected + Received Object { - "exitCode": 0, - "stderr": "", - "stdout": "9.14.2 + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/pnpm/-/pnpm-9.14.2.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://registry.npmjs.org/pnpm/-/pnpm-9.14.2.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:21603:33) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v18.20.5 ", + "stdout": "", } ❯ tests/main.test.ts:437:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:414:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v20.18.0 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v20.18.0 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v20.18.0 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should refuse to run a different package manager within a configured project: tests/main.test.ts#L437
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { Object (stdout, stderr, ...) } - Expected + Received Object { - "exitCode": 0, - "stderr": "", - "stdout": "9.14.2 + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/pnpm/-/pnpm-9.14.2.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://registry.npmjs.org/pnpm/-/pnpm-9.14.2.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:21603:33) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v20.18.0 ", + "stdout": "", } ❯ tests/main.test.ts:437:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:414:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v21.7.3 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v21.7.3 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v21.7.3 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should refuse to run a different package manager within a configured project: tests/main.test.ts#L437
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { Object (stdout, stderr, ...) } - Expected + Received Object { - "exitCode": 0, - "stderr": "", - "stdout": "9.14.2 + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/pnpm/-/pnpm-9.14.2.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://registry.npmjs.org/pnpm/-/pnpm-9.14.2.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:21603:33) + at async fetchUrlStream (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v21.7.3 ", + "stdout": "", } ❯ tests/main.test.ts:437:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:414:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v21.7.3 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v21.7.3 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v21.7.3 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should refuse to run a different package manager within a configured project: tests/main.test.ts#L437
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { Object (stdout, stderr, ...) } - Expected + Received Object { - "exitCode": 0, - "stderr": "", - "stdout": "9.14.2 + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/pnpm/-/pnpm-9.14.2.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://registry.npmjs.org/pnpm/-/pnpm-9.14.2.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:21603:33) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v21.7.3 ", + "stdout": "", } ❯ tests/main.test.ts:437:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:414:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v18.20.5 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v18.20.5 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v18.20.5 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should refuse to run a different package manager within a configured project: tests/main.test.ts#L437
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { Object (stdout, stderr, ...) } - Expected + Received Object { - "exitCode": 0, - "stderr": "", - "stdout": "9.14.2 + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/pnpm/-/pnpm-9.14.2.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://registry.npmjs.org/pnpm/-/pnpm-9.14.2.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:21603:33) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v18.20.5 ", + "stdout": "", } ❯ tests/main.test.ts:437:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:414:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v22.11.0 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v22.11.0 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v22.11.0 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should refuse to run a different package manager within a configured project: tests/main.test.ts#L437
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { Object (stdout, stderr, ...) } - Expected + Received Object { - "exitCode": 0, - "stderr": "", - "stdout": "9.14.2 + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/pnpm/-/pnpm-9.14.2.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21609:11) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://registry.npmjs.org/pnpm/-/pnpm-9.14.2.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:21603:33) + at async fetchUrlStream (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21639:20) + at async download (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21762:18) + at async installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21854:55) + at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22416:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23102:5) + } + + Node.js v22.11.0 ", + "stdout": "", } ❯ tests/main.test.ts:437:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:414:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609:11) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + at async download (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21762:18) + at async installVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21854:55) + at async Engine.ensurePackageManager (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22416:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) + } + + Node.js v21.7.3 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609:11) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + at async download (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21762:18) + at async installVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21854:55) + at async Engine.ensurePackageManager (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22416:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) + } + + Node.js v21.7.3 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609:11) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + at async download (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21762:18) + at async installVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21854:55) + at async Engine.ensurePackageManager (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22416:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) + } + + Node.js v21.7.3 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should refuse to run a different package manager within a configured project: tests/main.test.ts#L437
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { Object (stdout, stderr, ...) } - Expected + Received Object { - "exitCode": 0, - "stderr": "", - "stdout": "9.14.2 + "exitCode": 1, + "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/pnpm/-/pnpm-9.14.2.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609:11) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://registry.npmjs.org/pnpm/-/pnpm-9.14.2.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:21603:33) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + at async download (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21762:18) + at async installVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21854:55) + at async Engine.ensurePackageManager (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22416:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) + } + + Node.js v21.7.3 ", + "stdout": "", } ❯ tests/main.test.ts:437:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:414:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609:11) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + at async download (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21762:18) + at async installVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21854:55) + at async Engine.ensurePackageManager (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22416:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) + } + + Node.js v18.20.5 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609:11) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + at async download (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21762:18) + at async installVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21854:55) + at async Engine.ensurePackageManager (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22416:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) + } + + Node.js v18.20.5 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609:11) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + at async download (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21762:18) + at async installVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21854:55) + at async Engine.ensurePackageManager (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22416:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) + } + + Node.js v18.20.5 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should refuse to run a different package manager within a configured project: tests/main.test.ts#L437
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { Object (stdout, stderr, ...) } - Expected + Received Object { - "exitCode": 0, - "stderr": "", - "stdout": "9.14.2 + "exitCode": 1, + "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/pnpm/-/pnpm-9.14.2.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609:11) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://registry.npmjs.org/pnpm/-/pnpm-9.14.2.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:21603:33) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + at async download (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21762:18) + at async installVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21854:55) + at async Engine.ensurePackageManager (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22416:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) + } + + Node.js v18.20.5 ", + "stdout": "", } ❯ tests/main.test.ts:437:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:414:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609:11) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + at async download (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21762:18) + at async installVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21854:55) + at async Engine.ensurePackageManager (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22416:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) + } + + Node.js v22.11.0 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609:11) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + at async download (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21762:18) + at async installVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21854:55) + at async Engine.ensurePackageManager (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22416:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) + } + + Node.js v22.11.0 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609:11) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + at async download (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21762:18) + at async installVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21854:55) + at async Engine.ensurePackageManager (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22416:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) + } + + Node.js v22.11.0 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should refuse to run a different package manager within a configured project: tests/main.test.ts#L437
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { Object (stdout, stderr, ...) } - Expected + Received Object { - "exitCode": 0, - "stderr": "", - "stdout": "9.14.2 + "exitCode": 1, + "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/pnpm/-/pnpm-9.14.2.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609:11) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://registry.npmjs.org/pnpm/-/pnpm-9.14.2.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:21603:33) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + at async download (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21762:18) + at async installVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21854:55) + at async Engine.ensurePackageManager (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22416:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) + } + + Node.js v22.11.0 ", + "stdout": "", } ❯ tests/main.test.ts:437:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:414:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609:11) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + at async download (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21762:18) + at async installVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21854:55) + at async Engine.ensurePackageManager (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22416:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) + } + + Node.js v20.18.0 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609:11) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + at async download (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21762:18) + at async installVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21854:55) + at async Engine.ensurePackageManager (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22416:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) + } + + Node.js v20.18.0 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should allow using transparent commands on npm-configured projects: tests/main.test.ts#L286
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, stderr: '' } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stderr": "", + "exitCode": 1, + "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609:11) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.5.2/packages/yarnpkg-cli/bin/yarn.js; 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:21603:33) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + at async download (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21762:18) + at async installVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21854:55) + at async Engine.ensurePackageManager (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22416:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) + } + + Node.js v20.18.0 + ", } ❯ tests/main.test.ts:286:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:281:3
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (npm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '10.9.1\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.9.1 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should use the pinned version when local projects don't list any spec (pnpm): tests/main.test.ts#L313
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { stdout: '9.14.2\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.14.2 - ", + "exitCode": 1, + "stdout": "", } ❯ tests/main.test.ts:313:7 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:308:5
tests/main.test.ts > should refuse to run a different package manager within a configured project: tests/main.test.ts#L437
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { Object (stdout, stderr, ...) } - Expected + Received Object { - "exitCode": 0, - "stderr": "", - "stdout": "9.14.2 + "exitCode": 1, + "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609 + throw new Error( + ^ + + Error: Error when performing the request to https://registry.npmjs.org/pnpm/-/pnpm-9.14.2.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21609:11) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + ... 4 lines matching cause stack trace ... + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) { + [cause]: Error: No mock found for https://registry.npmjs.org/pnpm/-/pnpm-9.14.2.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:21603:33) + at async fetchUrlStream (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21639:20) + at async download (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21762:18) + at async installVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21854:55) + at async Engine.ensurePackageManager (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22316:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22416:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23102:5) + } + + Node.js v20.18.0 ", + "stdout": "", } ❯ tests/main.test.ts:437:5 ❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:414:3