chore(examples): new_defineEntries #5172
Annotations
10 errors, 5 warnings, and 1 notice
Run pnpm exec playwright test --shard=2/4:
e2e/create-waku.spec.ts#L1
stderr: Could not execute pnpm install. Please run
|
Run pnpm exec playwright test --shard=2/4
49957 stderr: TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".css" for /Users/runner/work/waku/waku/node_modules/.pnpm/react-tweet@3.2.0_react-dom@19.0.0-rc-bf7e210c-20241017_react@19.0.0-rc-bf7e210c-20241017__re_wxk2yr6vbyq3hvoxjrkyp3qbli/node_modules/react-tweet/dist/twitter-theme/tweet-info-created-at.module.css
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:217:9)
at defaultGetFormat (node:internal/modules/esm/get_format:243:36)
at defaultLoad (node:internal/modules/esm/load:123:22)
at async ModuleLoader.load (node:internal/modules/esm/loader:567:7)
at async ModuleLoader.moduleProvider (node:internal/modules/esm/loader:442:45) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
|
Run pnpm exec playwright test --shard=2/4
49957 stderr: TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".css" for /Users/runner/work/waku/waku/node_modules/.pnpm/react-tweet@3.2.0_react-dom@19.0.0-rc-bf7e210c-20241017_react@19.0.0-rc-bf7e210c-20241017__re_wxk2yr6vbyq3hvoxjrkyp3qbli/node_modules/react-tweet/dist/twitter-theme/tweet-actions.module.css
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:217:9)
at defaultGetFormat (node:internal/modules/esm/get_format:243:36)
at defaultLoad (node:internal/modules/esm/load:123:22)
at async ModuleLoader.load (node:internal/modules/esm/loader:567:7)
at async ModuleLoader.moduleProvider (node:internal/modules/esm/loader:442:45) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
|
Run pnpm exec playwright test --shard=2/4:
packages/waku/dist/lib/builder/build.js#L569
1) [firefox] › examples-smoke.spec.ts:78:7 › smoke test on 38_cookies: start › check title ───────
Error: Command failed: node /Users/runner/work/waku/waku/packages/waku/dist/cli.js build
file:///Users/runner/work/waku/waku/examples/38_cookies/dist/assets/context-CqXP_O3j.js:34
throw new Error("Context is not available. Make sure to use the context middleware.");
^
Error: Context is not available. Make sure to use the context middleware.
at ../packages/waku/dist/lib/builder/build.js:569
567 | }
568 | };
> 569 | const res = await distEntries.default.unstable_handleRequest(input, utils);
| ^
570 | return !!res;
571 | };
572 | // TODO too long... we need to refactor and organize this function
at getContext (file:///Users/runner/work/waku/waku/examples/38_cookies/dist/assets/context-CqXP_O3j.js:34:11)
at Object.unstable_handleRequest (file:///Users/runner/work/waku/waku/examples/38_cookies/dist/entries.js:18:18)
at willEmitPublicIndexHtmlNew (file:///Users/runner/work/waku/waku/packages/waku/dist/lib/builder/build.js:569:43)
at emitStaticFiles (file:///Users/runner/work/waku/waku/packages/waku/dist/lib/builder/build.js:585:15)
at async build (file:///Users/runner/work/waku/waku/packages/waku/dist/lib/builder/build.js:779:9)
at async runBuild (file:///Users/runner/work/waku/waku/packages/waku/dist/cli.js:123:5)
at async file:///Users/runner/work/waku/waku/packages/waku/dist/cli.js:82:13
Node.js v22.7.0
at willEmitPublicIndexHtmlNew (/Users/runner/work/waku/waku/packages/waku/dist/lib/builder/build.js:569:43)
at emitStaticFiles (/Users/runner/work/waku/waku/packages/waku/dist/lib/builder/build.js:585:15)
at async build (/Users/runner/work/waku/waku/packages/waku/dist/lib/builder/build.js:779:9)
at async runBuild (/Users/runner/work/waku/waku/packages/waku/dist/cli.js:123:5)
at /Users/runner/work/waku/waku/async file:/Users/runner/work/waku/waku/packages/waku/dist/cli.js:82:13
at /Users/runner/work/waku/waku/e2e/examples-smoke.spec.ts:52:11
|
Run pnpm exec playwright test --shard=2/4:
e2e/examples-smoke.spec.ts#L75
1) [firefox] › examples-smoke.spec.ts:78:7 › smoke test on 38_cookies: start › check title ───────
TypeError: Cannot read properties of undefined (reading 'pid')
73 |
74 | test.afterAll(async () => {
> 75 | await terminate(cp.pid!);
| ^
76 | });
77 |
78 | test('check title', async ({ page }) => {
at /Users/runner/work/waku/waku/e2e/examples-smoke.spec.ts:75:28
|
Run pnpm exec playwright test --shard=2/4:
packages/waku/dist/lib/builder/build.js#L569
1) [firefox] › examples-smoke.spec.ts:78:7 › smoke test on 38_cookies: start › check title ───────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Command failed: node /Users/runner/work/waku/waku/packages/waku/dist/cli.js build
file:///Users/runner/work/waku/waku/examples/38_cookies/dist/assets/context-CqXP_O3j.js:34
throw new Error("Context is not available. Make sure to use the context middleware.");
^
Error: Context is not available. Make sure to use the context middleware.
at ../packages/waku/dist/lib/builder/build.js:569
567 | }
568 | };
> 569 | const res = await distEntries.default.unstable_handleRequest(input, utils);
| ^
570 | return !!res;
571 | };
572 | // TODO too long... we need to refactor and organize this function
at getContext (file:///Users/runner/work/waku/waku/examples/38_cookies/dist/assets/context-CqXP_O3j.js:34:11)
at Object.unstable_handleRequest (file:///Users/runner/work/waku/waku/examples/38_cookies/dist/entries.js:18:18)
at willEmitPublicIndexHtmlNew (file:///Users/runner/work/waku/waku/packages/waku/dist/lib/builder/build.js:569:43)
at emitStaticFiles (file:///Users/runner/work/waku/waku/packages/waku/dist/lib/builder/build.js:585:15)
at async build (file:///Users/runner/work/waku/waku/packages/waku/dist/lib/builder/build.js:779:9)
at async runBuild (file:///Users/runner/work/waku/waku/packages/waku/dist/cli.js:123:5)
at async file:///Users/runner/work/waku/waku/packages/waku/dist/cli.js:82:13
Node.js v22.7.0
at willEmitPublicIndexHtmlNew (/Users/runner/work/waku/waku/packages/waku/dist/lib/builder/build.js:569:43)
at emitStaticFiles (/Users/runner/work/waku/waku/packages/waku/dist/lib/builder/build.js:585:15)
at async build (/Users/runner/work/waku/waku/packages/waku/dist/lib/builder/build.js:779:9)
at async runBuild (/Users/runner/work/waku/waku/packages/waku/dist/cli.js:123:5)
at /Users/runner/work/waku/waku/async file:/Users/runner/work/waku/waku/packages/waku/dist/cli.js:82:13
at /Users/runner/work/waku/waku/e2e/examples-smoke.spec.ts:52:11
|
Run pnpm exec playwright test --shard=2/4:
e2e/examples-smoke.spec.ts#L75
1) [firefox] › examples-smoke.spec.ts:78:7 › smoke test on 38_cookies: start › check title ───────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: Cannot read properties of undefined (reading 'pid')
73 |
74 | test.afterAll(async () => {
> 75 | await terminate(cp.pid!);
| ^
76 | });
77 |
78 | test('check title', async ({ page }) => {
at /Users/runner/work/waku/waku/e2e/examples-smoke.spec.ts:75:28
|
Run pnpm exec playwright test --shard=2/4:
packages/waku/dist/lib/builder/build.js#L569
1) [firefox] › examples-smoke.spec.ts:78:7 › smoke test on 38_cookies: start › check title ───────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Command failed: node /Users/runner/work/waku/waku/packages/waku/dist/cli.js build
file:///Users/runner/work/waku/waku/examples/38_cookies/dist/assets/context-CqXP_O3j.js:34
throw new Error("Context is not available. Make sure to use the context middleware.");
^
Error: Context is not available. Make sure to use the context middleware.
at ../packages/waku/dist/lib/builder/build.js:569
567 | }
568 | };
> 569 | const res = await distEntries.default.unstable_handleRequest(input, utils);
| ^
570 | return !!res;
571 | };
572 | // TODO too long... we need to refactor and organize this function
at getContext (file:///Users/runner/work/waku/waku/examples/38_cookies/dist/assets/context-CqXP_O3j.js:34:11)
at Object.unstable_handleRequest (file:///Users/runner/work/waku/waku/examples/38_cookies/dist/entries.js:18:18)
at willEmitPublicIndexHtmlNew (file:///Users/runner/work/waku/waku/packages/waku/dist/lib/builder/build.js:569:43)
at emitStaticFiles (file:///Users/runner/work/waku/waku/packages/waku/dist/lib/builder/build.js:585:15)
at async build (file:///Users/runner/work/waku/waku/packages/waku/dist/lib/builder/build.js:779:9)
at async runBuild (file:///Users/runner/work/waku/waku/packages/waku/dist/cli.js:123:5)
at async file:///Users/runner/work/waku/waku/packages/waku/dist/cli.js:82:13
Node.js v22.7.0
at willEmitPublicIndexHtmlNew (/Users/runner/work/waku/waku/packages/waku/dist/lib/builder/build.js:569:43)
at emitStaticFiles (/Users/runner/work/waku/waku/packages/waku/dist/lib/builder/build.js:585:15)
at async build (/Users/runner/work/waku/waku/packages/waku/dist/lib/builder/build.js:779:9)
at async runBuild (/Users/runner/work/waku/waku/packages/waku/dist/cli.js:123:5)
at /Users/runner/work/waku/waku/async file:/Users/runner/work/waku/waku/packages/waku/dist/cli.js:82:13
at /Users/runner/work/waku/waku/e2e/examples-smoke.spec.ts:52:11
|
Run pnpm exec playwright test --shard=2/4:
e2e/examples-smoke.spec.ts#L75
1) [firefox] › examples-smoke.spec.ts:78:7 › smoke test on 38_cookies: start › check title ───────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: Cannot read properties of undefined (reading 'pid')
73 |
74 | test.afterAll(async () => {
> 75 | await terminate(cp.pid!);
| ^
76 | });
77 |
78 | test('check title', async ({ page }) => {
at /Users/runner/work/waku/waku/e2e/examples-smoke.spec.ts:75:28
|
Run pnpm exec playwright test --shard=2/4:
packages/waku/dist/lib/builder/build.js#L569
1) [firefox] › examples-smoke.spec.ts:78:7 › smoke test on 38_cookies: start › check title ───────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Command failed: node /Users/runner/work/waku/waku/packages/waku/dist/cli.js build
file:///Users/runner/work/waku/waku/examples/38_cookies/dist/assets/context-CqXP_O3j.js:34
throw new Error("Context is not available. Make sure to use the context middleware.");
^
Error: Context is not available. Make sure to use the context middleware.
at ../packages/waku/dist/lib/builder/build.js:569
567 | }
568 | };
> 569 | const res = await distEntries.default.unstable_handleRequest(input, utils);
| ^
570 | return !!res;
571 | };
572 | // TODO too long... we need to refactor and organize this function
at getContext (file:///Users/runner/work/waku/waku/examples/38_cookies/dist/assets/context-CqXP_O3j.js:34:11)
at Object.unstable_handleRequest (file:///Users/runner/work/waku/waku/examples/38_cookies/dist/entries.js:18:18)
at willEmitPublicIndexHtmlNew (file:///Users/runner/work/waku/waku/packages/waku/dist/lib/builder/build.js:569:43)
at emitStaticFiles (file:///Users/runner/work/waku/waku/packages/waku/dist/lib/builder/build.js:585:15)
at async build (file:///Users/runner/work/waku/waku/packages/waku/dist/lib/builder/build.js:779:9)
at async runBuild (file:///Users/runner/work/waku/waku/packages/waku/dist/cli.js:123:5)
at async file:///Users/runner/work/waku/waku/packages/waku/dist/cli.js:82:13
Node.js v22.7.0
at willEmitPublicIndexHtmlNew (/Users/runner/work/waku/waku/packages/waku/dist/lib/builder/build.js:569:43)
at emitStaticFiles (/Users/runner/work/waku/waku/packages/waku/dist/lib/builder/build.js:585:15)
at async build (/Users/runner/work/waku/waku/packages/waku/dist/lib/builder/build.js:779:9)
at async runBuild (/Users/runner/work/waku/waku/packages/waku/dist/cli.js:123:5)
at /Users/runner/work/waku/waku/async file:/Users/runner/work/waku/waku/packages/waku/dist/cli.js:82:13
at /Users/runner/work/waku/waku/e2e/examples-smoke.spec.ts:52:11
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run pnpm exec playwright test --shard=2/4:
[chromium] › use-router.spec.ts#L1
[chromium] › use-router.spec.ts took 1.6m
|
Run pnpm exec playwright test --shard=2/4:
[firefox] › broken-link.spec.ts#L1
[firefox] › broken-link.spec.ts took 1.3m
|
Run pnpm exec playwright test --shard=2/4:
[firefox] › multi-platform.spec.ts#L1
[firefox] › multi-platform.spec.ts took 31.7s
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "playwright-report-macos-latest-22.7.0-1", "playwright-report-macos-latest-22.7.0-2", "playwright-report-macos-latest-22.7.0-3", "playwright-report-macos-latest-22.7.0-4", "playwright-report-ubuntu-latest-18.17.0-1", "playwright-report-ubuntu-latest-18.17.0-2", "playwright-report-ubuntu-latest-18.17.0-3", "playwright-report-ubuntu-latest-20.8.0-1", "playwright-report-ubuntu-latest-20.8.0-2", "playwright-report-ubuntu-latest-20.8.0-3", "playwright-report-ubuntu-latest-20.8.0-4", "playwright-report-ubuntu-latest-22.7.0-1", "playwright-report-ubuntu-latest-22.7.0-2", "playwright-report-ubuntu-latest-22.7.0-3", "playwright-report-ubuntu-latest-22.7.0-4", "playwright-report-windows-latest-22.7.0-1", "playwright-report-windows-latest-22.7.0-2", "playwright-report-windows-latest-22.7.0-3".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Run pnpm exec playwright test --shard=2/4
1 failed
[firefox] › examples-smoke.spec.ts:78:7 › smoke test on 38_cookies: start › check title ────────
5 skipped
96 passed (6.8m)
|
Loading