Skip to content

fix: 修复子组件在父组件setup时无法获取$scope字段 ask 199111 #239

fix: 修复子组件在父组件setup时无法获取$scope字段 ask 199111

fix: 修复子组件在父组件setup时无法获取$scope字段 ask 199111 #239

Triggered via push September 29, 2024 09:39
Status Failure
Total duration 1m 31s
Artifacts

ci.yml

on: push
unit-test
45s
unit-test
unit-test-windows
54s
unit-test-windows
e2e-test
1m 23s
e2e-test
lint-and-test-dts
40s
lint-and-test-dts
Fit to window
Zoom out
Zoom in

Annotations

22 errors
lint-and-test-dts: packages/runtime-core/src/apiLifecycle.ts#L17
Cannot find module '@dcloudio/uni-shared' or its corresponding type declarations.
lint-and-test-dts: packages/runtime-core/src/renderer.ts#L81
Cannot find module '@dcloudio/uni-shared' or its corresponding type declarations.
lint-and-test-dts: packages/runtime-core/src/renderer.ts#L1281
Parameter 'el' implicitly has an 'any' type.
lint-and-test-dts: packages/runtime-service/src/directives/vModel.ts#L1
Cannot find module '@dcloudio/uni-shared' or its corresponding type declarations.
lint-and-test-dts: packages/runtime-service/src/directives/vModel.ts#L23
Parameter 'e' implicitly has an 'any' type.
lint-and-test-dts: packages/runtime-service/src/directives/vShow.ts#L1
Cannot find module '@dcloudio/uni-shared' or its corresponding type declarations.
lint-and-test-dts: packages/runtime-service/src/dom.ts#L7
Cannot find module '@dcloudio/uni-shared' or its corresponding type declarations.
lint-and-test-dts: packages/runtime-service/src/helpers/useCssVars.ts#L12
Cannot find module '@dcloudio/uni-shared' or its corresponding type declarations.
lint-and-test-dts: packages/runtime-service/src/index.ts#L1
Cannot find module '@dcloudio/uni-shared' or its corresponding type declarations.
lint-and-test-dts: packages/runtime-service/src/modules/attrs.ts#L1
Cannot find module '@dcloudio/uni-shared' or its corresponding type declarations.
unit-test
Process completed with exit code 1.
unit-test-windows
Process completed with exit code 1.
Unhandled error: packages/vue/__tests__/e2e/e2eUtils.ts#L53
TypeError: Cannot read properties of undefined (reading 'remoteObject') ❯ packages/vue/__tests__/e2e/e2eUtils.ts:53:15 ❯ node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:242 ❯ Object.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:226 ❯ CdpPage.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/common/EventEmitter.ts:137:4 ❯ CdpPage.#onLogEntryAdded node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/cdp/Page.ts:535:18 ❯ node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:242 ❯ Object.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:226 ❯ CdpCDPSession.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/common/EventEmitter.ts:137:4 This error originated in "packages/vue/__tests__/e2e/todomvc.spec.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 "classic". 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/vue/__tests__/e2e/e2eUtils.ts#L53
TypeError: Cannot read properties of undefined (reading 'remoteObject') ❯ packages/vue/__tests__/e2e/e2eUtils.ts:53:15 ❯ node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:242 ❯ Object.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:226 ❯ CdpPage.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/common/EventEmitter.ts:137:4 ❯ CdpPage.#onLogEntryAdded node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/cdp/Page.ts:535:18 ❯ node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:242 ❯ Object.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:226 ❯ CdpCDPSession.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/common/EventEmitter.ts:137:4 This error originated in "packages/vue/__tests__/e2e/todomvc.spec.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 "composition". 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/vue/__tests__/e2e/e2eUtils.ts#L53
TypeError: Cannot read properties of undefined (reading 'remoteObject') ❯ packages/vue/__tests__/e2e/e2eUtils.ts:53:15 ❯ node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:242 ❯ Object.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:226 ❯ CdpPage.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/common/EventEmitter.ts:137:4 ❯ CdpPage.#onLogEntryAdded node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/cdp/Page.ts:535:18 ❯ node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:242 ❯ Object.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:226 ❯ CdpCDPSession.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/common/EventEmitter.ts:137:4 This error originated in "packages/vue/__tests__/e2e/grid.spec.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 "classic". 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/vue/__tests__/e2e/e2eUtils.ts#L53
TypeError: Cannot read properties of undefined (reading 'remoteObject') ❯ packages/vue/__tests__/e2e/e2eUtils.ts:53:15 ❯ node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:242 ❯ Object.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:226 ❯ CdpPage.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/common/EventEmitter.ts:137:4 ❯ CdpPage.#onLogEntryAdded node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/cdp/Page.ts:535:18 ❯ node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:242 ❯ Object.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:226 ❯ CdpCDPSession.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/common/EventEmitter.ts:137:4 This error originated in "packages/vue/__tests__/e2e/svg.spec.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 "classic". 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/vue/__tests__/e2e/e2eUtils.ts#L53
TypeError: Cannot read properties of undefined (reading 'remoteObject') ❯ packages/vue/__tests__/e2e/e2eUtils.ts:53:15 ❯ node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:242 ❯ Object.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:226 ❯ CdpPage.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/common/EventEmitter.ts:137:4 ❯ CdpPage.#onLogEntryAdded node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/cdp/Page.ts:535:18 ❯ node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:242 ❯ Object.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:226 ❯ CdpCDPSession.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/common/EventEmitter.ts:137:4 This error originated in "packages/vue/__tests__/e2e/svg.spec.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 "composition". 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/vue/__tests__/e2e/e2eUtils.ts#L53
TypeError: Cannot read properties of undefined (reading 'remoteObject') ❯ packages/vue/__tests__/e2e/e2eUtils.ts:53:15 ❯ node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:242 ❯ Object.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:226 ❯ CdpPage.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/common/EventEmitter.ts:137:4 ❯ CdpPage.#onLogEntryAdded node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/cdp/Page.ts:535:18 ❯ node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:242 ❯ Object.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:226 ❯ CdpCDPSession.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/common/EventEmitter.ts:137:4 This error originated in "packages/vue/__tests__/e2e/tree.spec.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 "classic". 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/vue/__tests__/e2e/e2eUtils.ts#L53
TypeError: Cannot read properties of undefined (reading 'remoteObject') ❯ packages/vue/__tests__/e2e/e2eUtils.ts:53:15 ❯ node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:242 ❯ Object.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:226 ❯ CdpPage.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/common/EventEmitter.ts:137:4 ❯ CdpPage.#onLogEntryAdded node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/cdp/Page.ts:535:18 ❯ node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:242 ❯ Object.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:226 ❯ CdpCDPSession.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/common/EventEmitter.ts:137:4 This error originated in "packages/vue/__tests__/e2e/tree.spec.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 "composition". 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/vue/__tests__/e2e/e2eUtils.ts#L53
TypeError: Cannot read properties of undefined (reading 'remoteObject') ❯ packages/vue/__tests__/e2e/e2eUtils.ts:53:15 ❯ node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:242 ❯ Object.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:226 ❯ CdpPage.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/common/EventEmitter.ts:137:4 ❯ CdpPage.#onLogEntryAdded node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/cdp/Page.ts:535:18 ❯ node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:242 ❯ Object.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:226 ❯ CdpCDPSession.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/common/EventEmitter.ts:137:4 This error originated in "packages/vue/__tests__/e2e/commits.spec.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 "classic". 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/vue/__tests__/e2e/e2eUtils.ts#L53
TypeError: Cannot read properties of undefined (reading 'remoteObject') ❯ packages/vue/__tests__/e2e/e2eUtils.ts:53:15 ❯ node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:242 ❯ Object.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:226 ❯ CdpPage.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/common/EventEmitter.ts:137:4 ❯ CdpPage.#onLogEntryAdded node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/cdp/Page.ts:535:18 ❯ node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:242 ❯ Object.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:226 ❯ CdpCDPSession.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/common/EventEmitter.ts:137:4 This error originated in "packages/vue/__tests__/e2e/commits.spec.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 "composition". 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/vue/__tests__/e2e/e2eUtils.ts#L53
TypeError: Cannot read properties of undefined (reading 'remoteObject') ❯ packages/vue/__tests__/e2e/e2eUtils.ts:53:15 ❯ node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:242 ❯ Object.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:226 ❯ CdpPage.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/common/EventEmitter.ts:137:4 ❯ CdpPage.#onLogEntryAdded node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/cdp/Page.ts:535:18 ❯ node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:242 ❯ Object.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:25:226 ❯ CdpCDPSession.emit node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/src/common/EventEmitter.ts:137:4 This error originated in "packages/vue/__tests__/e2e/markdown.spec.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 "classic". 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.