Skip to content

fix: project module resolution #3366

fix: project module resolution

fix: project module resolution #3366

Re-run triggered October 8, 2024 03:57
Status Failure
Total duration 1m 20s
Artifacts

main.yml

on: pull_request
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 13 warnings
Unhandled error: packages/wallet-sdk/src/sign/walletlink/relay/connection/WalletLinkCipher.ts#L60
TypeError: Cannot read properties of undefined (reading 'importKey') ❯ src/sign/walletlink/relay/connection/WalletLinkCipher.ts:60:58 ❯ src/sign/walletlink/relay/connection/WalletLinkCipher.ts:85:7 ❯ WalletLinkCipher.decrypt src/sign/walletlink/relay/connection/WalletLinkCipher.ts:58:12 ❯ src/sign/walletlink/relay/connection/WalletLinkCipher.test.ts:35:36 ❯ ../../node_modules/@vitest/runner/dist/index.js:146:14 ❯ ../../node_modules/@vitest/runner/dist/index.js:533:11 ❯ runWithTimeout ../../node_modules/@vitest/runner/dist/index.js:61:7 ❯ runTest ../../node_modules/@vitest/runner/dist/index.js:986:17 ❯ processTicksAndRejections node:internal/process/task_queues:96:5 This error originated in "src/sign/walletlink/relay/connection/WalletLinkCipher.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "decrypt". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: packages/wallet-sdk/src/sign/walletlink/relay/connection/WalletLinkCipher.ts#L60
TypeError: Cannot read properties of undefined (reading 'importKey') ❯ src/sign/walletlink/relay/connection/WalletLinkCipher.ts:60:58 ❯ src/sign/walletlink/relay/connection/WalletLinkCipher.ts:85:7 ❯ WalletLinkCipher.decrypt src/sign/walletlink/relay/connection/WalletLinkCipher.ts:58:12 ❯ src/sign/walletlink/relay/connection/WalletLinkCipher.test.ts:53:34 ❯ ../../node_modules/@vitest/runner/dist/index.js:533:5 ❯ runTest ../../node_modules/@vitest/runner/dist/index.js:986:11 ❯ runSuite ../../node_modules/@vitest/runner/dist/index.js:1142:15 ❯ runSuite ../../node_modules/@vitest/runner/dist/index.js:1142:15 ❯ runFiles ../../node_modules/@vitest/runner/dist/index.js:1199:5 This error originated in "src/sign/walletlink/relay/connection/WalletLinkCipher.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "errors". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
src/util/cipher.test.ts > Cipher > generateKeyPair > should generate a unique key pair on each call: packages/wallet-sdk/src/util/cipher.ts#L7
TypeError: Cannot read properties of undefined (reading 'generateKey') ❯ Module.generateKeyPair src/util/cipher.ts:7:24 ❯ src/util/cipher.test.ts:6:37
src/util/cipher.test.ts > Cipher > deriveSharedSecret > should derive a shared secret successfully: packages/wallet-sdk/src/util/cipher.ts#L7
TypeError: Cannot read properties of undefined (reading 'generateKey') ❯ Module.generateKeyPair src/util/cipher.ts:7:24 ❯ src/util/cipher.test.ts:15:32
src/util/cipher.test.ts > Cipher > encrypt and decrypt > should encrypt and decrypt a message successfully: packages/wallet-sdk/src/util/cipher.ts#L7
TypeError: Cannot read properties of undefined (reading 'generateKey') ❯ Module.generateKeyPair src/util/cipher.ts:7:24 ❯ src/util/cipher.test.ts:25:32
src/util/cipher.test.ts > Cipher > encrypt and decrypt > should throw an error when decrypting with a different shared secret: packages/wallet-sdk/src/util/cipher.ts#L7
TypeError: Cannot read properties of undefined (reading 'generateKey') ❯ Module.generateKeyPair src/util/cipher.ts:7:24 ❯ src/util/cipher.test.ts:42:32
src/sign/scw/SCWKeyManager.test.ts > KeyStorage > getOwnPublicKey > should return the own public key: packages/wallet-sdk/src/util/cipher.ts#L7
TypeError: Cannot read properties of undefined (reading 'generateKey') ❯ Module.generateKeyPair src/util/cipher.ts:7:24 ❯ SCWKeyManager.generateKeyPair src/sign/scw/SCWKeyManager.ts:63:30 ❯ SCWKeyManager.loadKeysIfNeeded src/sign/scw/SCWKeyManager.ts:80:18 ❯ SCWKeyManager.getOwnPublicKey src/sign/scw/SCWKeyManager.ts:34:5 ❯ src/sign/scw/SCWKeyManager.test.ts:13:25
src/sign/scw/SCWKeyManager.test.ts > KeyStorage > getOwnPublicKey > should return the same public key on subsequent calls: packages/wallet-sdk/src/util/cipher.ts#L7
TypeError: Cannot read properties of undefined (reading 'generateKey') ❯ Module.generateKeyPair src/util/cipher.ts:7:24 ❯ SCWKeyManager.generateKeyPair src/sign/scw/SCWKeyManager.ts:63:30 ❯ SCWKeyManager.loadKeysIfNeeded src/sign/scw/SCWKeyManager.ts:80:18 ❯ SCWKeyManager.getOwnPublicKey src/sign/scw/SCWKeyManager.ts:34:5 ❯ src/sign/scw/SCWKeyManager.test.ts:18:30
src/sign/scw/SCWKeyManager.test.ts > KeyStorage > getOwnPublicKey > should not return the same public key after resetting the own key pair: packages/wallet-sdk/src/util/cipher.ts#L7
TypeError: Cannot read properties of undefined (reading 'generateKey') ❯ Module.generateKeyPair src/util/cipher.ts:7:24 ❯ SCWKeyManager.generateKeyPair src/sign/scw/SCWKeyManager.ts:63:30 ❯ SCWKeyManager.loadKeysIfNeeded src/sign/scw/SCWKeyManager.ts:80:18 ❯ SCWKeyManager.getOwnPublicKey src/sign/scw/SCWKeyManager.ts:34:5 ❯ src/sign/scw/SCWKeyManager.test.ts:25:30
src/sign/scw/SCWKeyManager.test.ts > KeyStorage > getOwnPublicKey > should load the same public key from storage with new instance: packages/wallet-sdk/src/util/cipher.ts#L7
TypeError: Cannot read properties of undefined (reading 'generateKey') ❯ Module.generateKeyPair src/util/cipher.ts:7:24 ❯ SCWKeyManager.generateKeyPair src/sign/scw/SCWKeyManager.ts:63:30 ❯ SCWKeyManager.loadKeysIfNeeded src/sign/scw/SCWKeyManager.ts:80:18 ❯ SCWKeyManager.getOwnPublicKey src/sign/scw/SCWKeyManager.ts:34:5 ❯ src/sign/scw/SCWKeyManager.test.ts:33:30
Tests (18.x)
The job was canceled because "_16_x" failed.
Unhandled error: packages/wallet-sdk/src/sign/walletlink/relay/connection/WalletLinkCipher.ts#L60
TypeError: Cannot read properties of undefined (reading 'importKey') ❯ src/sign/walletlink/relay/connection/WalletLinkCipher.ts:60:58 ❯ src/sign/walletlink/relay/connection/WalletLinkCipher.ts:85:7 ❯ WalletLinkCipher.decrypt src/sign/walletlink/relay/connection/WalletLinkCipher.ts:58:12 ❯ src/sign/walletlink/relay/connection/WalletLinkCipher.test.ts:35:36 ❯ ../../node_modules/@vitest/runner/dist/index.js:146:14 ❯ ../../node_modules/@vitest/runner/dist/index.js:533:11 ❯ runWithTimeout ../../node_modules/@vitest/runner/dist/index.js:61:7 ❯ runTest ../../node_modules/@vitest/runner/dist/index.js:986:17 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "src/sign/walletlink/relay/connection/WalletLinkCipher.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "decrypt". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: packages/wallet-sdk/src/sign/walletlink/relay/connection/WalletLinkCipher.ts#L60
TypeError: Cannot read properties of undefined (reading 'importKey') ❯ src/sign/walletlink/relay/connection/WalletLinkCipher.ts:60:58 ❯ src/sign/walletlink/relay/connection/WalletLinkCipher.ts:85:7 ❯ WalletLinkCipher.decrypt src/sign/walletlink/relay/connection/WalletLinkCipher.ts:58:12 ❯ src/sign/walletlink/relay/connection/WalletLinkCipher.test.ts:53:34 ❯ ../../node_modules/@vitest/runner/dist/index.js:533:5 ❯ runTest ../../node_modules/@vitest/runner/dist/index.js:986:11 ❯ runSuite ../../node_modules/@vitest/runner/dist/index.js:1142:15 ❯ runSuite ../../node_modules/@vitest/runner/dist/index.js:1142:15 ❯ runFiles ../../node_modules/@vitest/runner/dist/index.js:1199:5 This error originated in "src/sign/walletlink/relay/connection/WalletLinkCipher.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "errors". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
src/util/cipher.test.ts > Cipher > generateKeyPair > should generate a unique key pair on each call: packages/wallet-sdk/src/util/cipher.ts#L7
TypeError: Cannot read properties of undefined (reading 'generateKey') ❯ Module.generateKeyPair src/util/cipher.ts:7:24 ❯ src/util/cipher.test.ts:6:37
src/util/cipher.test.ts > Cipher > deriveSharedSecret > should derive a shared secret successfully: packages/wallet-sdk/src/util/cipher.ts#L7
TypeError: Cannot read properties of undefined (reading 'generateKey') ❯ Module.generateKeyPair src/util/cipher.ts:7:24 ❯ src/util/cipher.test.ts:15:32
src/util/cipher.test.ts > Cipher > encrypt and decrypt > should encrypt and decrypt a message successfully: packages/wallet-sdk/src/util/cipher.ts#L7
TypeError: Cannot read properties of undefined (reading 'generateKey') ❯ Module.generateKeyPair src/util/cipher.ts:7:24 ❯ src/util/cipher.test.ts:25:32
src/util/cipher.test.ts > Cipher > encrypt and decrypt > should throw an error when decrypting with a different shared secret: packages/wallet-sdk/src/util/cipher.ts#L7
TypeError: Cannot read properties of undefined (reading 'generateKey') ❯ Module.generateKeyPair src/util/cipher.ts:7:24 ❯ src/util/cipher.test.ts:42:32
src/sign/scw/SCWKeyManager.test.ts > KeyStorage > getOwnPublicKey > should return the own public key: packages/wallet-sdk/src/util/cipher.ts#L7
TypeError: Cannot read properties of undefined (reading 'generateKey') ❯ Module.generateKeyPair src/util/cipher.ts:7:24 ❯ SCWKeyManager.generateKeyPair src/sign/scw/SCWKeyManager.ts:63:30 ❯ SCWKeyManager.loadKeysIfNeeded src/sign/scw/SCWKeyManager.ts:80:18 ❯ SCWKeyManager.getOwnPublicKey src/sign/scw/SCWKeyManager.ts:34:5 ❯ src/sign/scw/SCWKeyManager.test.ts:13:25
src/sign/scw/SCWKeyManager.test.ts > KeyStorage > getOwnPublicKey > should return the same public key on subsequent calls: packages/wallet-sdk/src/util/cipher.ts#L7
TypeError: Cannot read properties of undefined (reading 'generateKey') ❯ Module.generateKeyPair src/util/cipher.ts:7:24 ❯ SCWKeyManager.generateKeyPair src/sign/scw/SCWKeyManager.ts:63:30 ❯ SCWKeyManager.loadKeysIfNeeded src/sign/scw/SCWKeyManager.ts:80:18 ❯ SCWKeyManager.getOwnPublicKey src/sign/scw/SCWKeyManager.ts:34:5 ❯ src/sign/scw/SCWKeyManager.test.ts:18:30
src/sign/scw/SCWKeyManager.test.ts > KeyStorage > getOwnPublicKey > should not return the same public key after resetting the own key pair: packages/wallet-sdk/src/util/cipher.ts#L7
TypeError: Cannot read properties of undefined (reading 'generateKey') ❯ Module.generateKeyPair src/util/cipher.ts:7:24 ❯ SCWKeyManager.generateKeyPair src/sign/scw/SCWKeyManager.ts:63:30 ❯ SCWKeyManager.loadKeysIfNeeded src/sign/scw/SCWKeyManager.ts:80:18 ❯ SCWKeyManager.getOwnPublicKey src/sign/scw/SCWKeyManager.ts:34:5 ❯ src/sign/scw/SCWKeyManager.test.ts:25:30
src/sign/scw/SCWKeyManager.test.ts > KeyStorage > getOwnPublicKey > should load the same public key from storage with new instance: packages/wallet-sdk/src/util/cipher.ts#L7
TypeError: Cannot read properties of undefined (reading 'generateKey') ❯ Module.generateKeyPair src/util/cipher.ts:7:24 ❯ SCWKeyManager.generateKeyPair src/sign/scw/SCWKeyManager.ts:63:30 ❯ SCWKeyManager.loadKeysIfNeeded src/sign/scw/SCWKeyManager.ts:80:18 ❯ SCWKeyManager.getOwnPublicKey src/sign/scw/SCWKeyManager.ts:34:5 ❯ src/sign/scw/SCWKeyManager.test.ts:33:30
Type Check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Tests (20.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint Check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint Check: packages/wallet-sdk/src/vendor-js/eth-eip712-util/index.d.ts#L2
Unexpected any. Specify a different type
Lint Check: packages/wallet-sdk/src/vendor-js/eth-eip712-util/index.d.ts#L3
Unexpected any. Specify a different type
Lint Check: packages/wallet-sdk/src/vendor-js/eth-eip712-util/index.d.ts#L4
Unexpected any. Specify a different type
Lint Check: packages/wallet-sdk/src/vendor-js/eth-eip712-util/index.d.ts#L6
Unexpected any. Specify a different type
Lint Check: packages/wallet-sdk/src/vendor-js/eth-eip712-util/index.d.ts#L6
Unexpected any. Specify a different type
Lint Check: packages/wallet-sdk/src/vendor-js/eth-eip712-util/index.d.ts#L7
Unexpected any. Specify a different type
Lint Check: packages/wallet-sdk/src/vendor-js/eth-eip712-util/index.d.ts#L7
Unexpected any. Specify a different type
Lint Check: packages/wallet-sdk/src/vendor-js/eth-eip712-util/index.d.ts#L7
Unexpected any. Specify a different type
Tests (16.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/