Skip to content

feat: update package manager versions #1121

feat: update package manager versions

feat: update package manager versions #1121

Triggered via pull request September 7, 2024 10:22
Status Failure
Total duration 15m 48s
Artifacts

ci.yml

on: pull_request
Testing chores
19s
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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096:5) + } + + Node.js v20.17.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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096:5) + } + + Node.js v20.17.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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096:5) + } + + Node.js v20.17.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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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 { stdout: '9.9.0\n', stderr: '', …(1) } - Expected + Received Object { - "exitCode": 0, - "stderr": "", - "stdout": "9.9.0 + "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.9.0.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:23096:5) { + [cause]: Error: No mock found for https://registry.npmjs.org/pnpm/-/pnpm-9.9.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (/Users/runner/work/corepack/corepack/tests/recordRequests.js:79:22) + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs: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:22310:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096:5) + } + + Node.js v20.17.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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096:5) + } + + Node.js v22.8.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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096:5) + } + + Node.js v22.8.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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096:5) + } + + Node.js v22.8.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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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 { stdout: '9.9.0\n', stderr: '', …(1) } - Expected + Received Object { - "exitCode": 0, - "stderr": "", - "stdout": "9.9.0 + "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.9.0.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:23096:5) { + [cause]: Error: No mock found for https://registry.npmjs.org/pnpm/-/pnpm-9.9.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (/Users/runner/work/corepack/corepack/tests/recordRequests.js:79:22) + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs: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:22310:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096:5) + } + + Node.js v22.8.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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096:5) + } + + Node.js v18.20.4 + ", } ❯ 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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096:5) + } + + Node.js v18.20.4 + ", } ❯ 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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096:5) + } + + Node.js v18.20.4 + ", } ❯ 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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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 { stdout: '9.9.0\n', stderr: '', …(1) } - Expected + Received Object { - "exitCode": 0, - "stderr": "", - "stdout": "9.9.0 + "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.9.0.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:23096:5) { + [cause]: Error: No mock found for https://registry.npmjs.org/pnpm/-/pnpm-9.9.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (/Users/runner/work/corepack/corepack/tests/recordRequests.js:79:22) + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs: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:22310:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096:5) + } + + Node.js v18.20.4 ", + "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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096:5) + } + + Node.js v22.8.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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096:5) + } + + Node.js v22.8.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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096:5) + } + + Node.js v22.8.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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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 { stdout: '9.9.0\n', stderr: '', …(1) } - Expected + Received Object { - "exitCode": 0, - "stderr": "", - "stdout": "9.9.0 + "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.9.0.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:23096:5) { + [cause]: Error: No mock found for https://registry.npmjs.org/pnpm/-/pnpm-9.9.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (/home/runner/work/corepack/corepack/tests/recordRequests.js:79:22) + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs: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:22310:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096:5) + } + + Node.js v22.8.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": "/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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096:5) + } + + Node.js v20.17.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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096:5) + } + + Node.js v20.17.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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096:5) + } + + Node.js v20.17.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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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 { stdout: '9.9.0\n', stderr: '', …(1) } - Expected + Received Object { - "exitCode": 0, - "stderr": "", - "stdout": "9.9.0 + "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.9.0.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:23096:5) { + [cause]: Error: No mock found for https://registry.npmjs.org/pnpm/-/pnpm-9.9.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (/home/runner/work/corepack/corepack/tests/recordRequests.js:79:22) + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs: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:22310:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096:5) + } + + Node.js v20.17.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": "/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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096:5) + } + + Node.js v18.20.4 + ", } ❯ 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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096:5) + } + + Node.js v18.20.4 + ", } ❯ 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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096:5) + } + + Node.js v18.20.4 + ", } ❯ 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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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 { stdout: '9.9.0\n', stderr: '', …(1) } - Expected + Received Object { - "exitCode": 0, - "stderr": "", - "stdout": "9.9.0 + "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.9.0.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:23096:5) { + [cause]: Error: No mock found for https://registry.npmjs.org/pnpm/-/pnpm-9.9.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (/home/runner/work/corepack/corepack/tests/recordRequests.js:79:22) + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs: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:22310:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096:5) + } + + Node.js v18.20.4 ", + "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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096: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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096: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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096: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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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 { stdout: '9.9.0\n', stderr: '', …(1) } - Expected + Received Object { - "exitCode": 0, - "stderr": "", - "stdout": "9.9.0 + "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.9.0.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:23096:5) { + [cause]: Error: No mock found for https://registry.npmjs.org/pnpm/-/pnpm-9.9.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (/home/runner/work/corepack/corepack/tests/recordRequests.js:79:22) + at fetch (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs: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:22310:32) + at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096: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": "/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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096: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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096: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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096: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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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 { stdout: '9.9.0\n', stderr: '', …(1) } - Expected + Received Object { - "exitCode": 0, - "stderr": "", - "stdout": "9.9.0 + "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.9.0.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:23096:5) { + [cause]: Error: No mock found for https://registry.npmjs.org/pnpm/-/pnpm-9.9.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (/Users/runner/work/corepack/corepack/tests/recordRequests.js:79:22) + at fetch (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs: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:22310:32) + at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22410:25) + at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23096: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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22410:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23096: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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22410:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23096: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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22410:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23096: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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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 { stdout: '9.9.0\n', stderr: '', …(1) } - Expected + Received Object { - "exitCode": 0, - "stderr": "", - "stdout": "9.9.0 + "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.9.0.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:23096:5) { + [cause]: Error: No mock found for https://registry.npmjs.org/pnpm/-/pnpm-9.9.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (D:\\a\\corepack\\corepack\\tests\\recordRequests.js:79:22) + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs: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:22310:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22410:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23096: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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22410:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23096:5) + } + + Node.js v22.8.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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22410:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23096:5) + } + + Node.js v22.8.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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22410:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23096:5) + } + + Node.js v22.8.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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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 { stdout: '9.9.0\n', stderr: '', …(1) } - Expected + Received Object { - "exitCode": 0, - "stderr": "", - "stdout": "9.9.0 + "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.9.0.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:23096:5) { + [cause]: Error: No mock found for https://registry.npmjs.org/pnpm/-/pnpm-9.9.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (D:\\a\\corepack\\corepack\\tests\\recordRequests.js:79:22) + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs: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:22310:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22410:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23096:5) + } + + Node.js v22.8.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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22410:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23096:5) + } + + Node.js v18.20.4 + ", } ❯ 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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22410:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23096:5) + } + + Node.js v18.20.4 + ", } ❯ 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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22410:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23096:5) + } + + Node.js v18.20.4 + ", } ❯ 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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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 { stdout: '9.9.0\n', stderr: '', …(1) } - Expected + Received Object { - "exitCode": 0, - "stderr": "", - "stdout": "9.9.0 + "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.9.0.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:23096:5) { + [cause]: Error: No mock found for https://registry.npmjs.org/pnpm/-/pnpm-9.9.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (D:\\a\\corepack\\corepack\\tests\\recordRequests.js:79:22) + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs: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:22310:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22410:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23096:5) + } + + Node.js v18.20.4 ", + "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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22410:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23096:5) + } + + Node.js v20.17.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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22410:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23096:5) + } + + Node.js v20.17.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.4.1/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:23096:5) { + [cause]: Error: No mock found for https://repo.yarnpkg.com/4.4.1/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:22310:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22410:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23096:5) + } + + Node.js v20.17.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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.8.3\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "10.8.3 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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.9.0\n', exitCode: +0 } (1 matching property omitted from actual) - Expected + Received Object { - "exitCode": 0, - "stdout": "9.9.0 - ", + "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 { stdout: '9.9.0\n', stderr: '', …(1) } - Expected + Received Object { - "exitCode": 0, - "stderr": "", - "stdout": "9.9.0 + "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.9.0.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:23096:5) { + [cause]: Error: No mock found for https://registry.npmjs.org/pnpm/-/pnpm-9.9.0.tgz; run the tests with NOCK_ENV=record to generate one + at globalThis.fetch (D:\\a\\corepack\\corepack\\tests\\recordRequests.js:79:22) + at fetch (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs: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:22310:32) + at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22410:25) + at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23096:5) + } + + Node.js v20.17.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