feat: update package manager versions #1121
Annotations
10 errors
Run corepack yarn test:
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
|
Run corepack yarn test:
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
|
Run corepack yarn test:
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
|
Run corepack yarn test:
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
|
Run corepack yarn test:
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
|
Run corepack yarn test:
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
|
Run corepack yarn test:
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
|
Run corepack yarn test:
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
|
Run corepack yarn test:
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
|
Run corepack yarn test:
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
|
Loading