refactor: fs-router to use new_createPages & fix staticPaths #5283
Annotations
5 errors, 7 warnings, and 1 notice
Run pnpm exec playwright test --shard=2/4:
e2e/ssr-catch-error.spec.ts#L1
stderr: [plugin:vite:reporter] [plugin vite:reporter]
(!) /home/runner/work/_temp/waku-ssr-catch-error-to8e8o/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-to8e8o/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-to8e8o/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-to8e8o/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.
|
Run pnpm exec playwright test --shard=2/4:
e2e/ssr-catch-error.spec.ts#L1
stderr: [plugin:vite:reporter] [plugin vite:reporter]
(!) /home/runner/work/_temp/waku-ssr-catch-error-t93rXF/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-t93rXF/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-t93rXF/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-t93rXF/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.
|
Run pnpm exec playwright test --shard=2/4:
e2e/create-waku.spec.ts#L1
stderr: node:internal/bootstrap/switches/does_own_process_state:126
cachedCwd = rawMethods.cwd();
^
Error: ENOENT: no such file or directory, uv_cwd
at process.wrappedCwd (node:internal/bootstrap/switches/does_own_process_state:126:28)
at process.cwd (/home/runner/setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:45:23)
at process.cwd (/home/runner/setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:7749:23)
at ../node_modules/.pnpm/[email protected]/node_modules/get-source/impl/path.js (/home/runner/setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:38842:58)
at __require (/home/runner/setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:12:50)
at ../node_modules/.pnpm/[email protected]/node_modules/get-source/get-source.js (/home/runner/setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:38933:17)
at __require (/home/runner/setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:12:50)
at ../node_modules/.pnpm/[email protected]/node_modules/stacktracey/stacktracey.js (/home/runner/setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:39240:21)
at __require (/home/runner/setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:12:50)
at ../cli/default-reporter/lib/reportError.js (/home/runner/setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:39481:42) {
errno: -2,
code: 'ENOENT',
syscall: 'uv_cwd'
}
Node.js v18.17.0
|
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
34605 stderr: Error: Cannot find module '/home/runner/work/waku/waku/examples/42_react-tweet/home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected][email protected]__re_n26otrjmoamx67qv6scqewcd6y/node_modules/react-tweet/dist/twitter-theme/tweet-info-created-at.js' imported from /home/runner/work/waku/waku/packages/waku/dist/lib/middleware/dev-server-impl.js
at new NodeError (node:internal/errors:405:5)
at finalizeResolution (node:internal/modules/esm/resolve:324:11)
at moduleResolve (node:internal/modules/esm/resolve:943:10)
at defaultResolve (node:internal/modules/esm/resolve:1129:11)
at nextResolve (node:internal/modules/esm/loader:163:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:835:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
at ESMLoader.import (node:internal/modules/esm/loader:524:22)
at importModuleDynamically (node:internal/modules/esm/translators:110:35)
at importModuleDynamicallyCallback (node:internal/process/esm_loader:35:14)
at loadServerModuleMain (file:///home/runner/work/waku/waku/packages/waku/dist/lib/middleware/dev-server-impl.js:146:46) {
code: 'ERR_MODULE_NOT_FOUND'
}
|
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.8m
|
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 59.7s
|
Run pnpm exec playwright test --shard=2/4:
[firefox] › examples-smoke.spec.ts#L1
[firefox] › examples-smoke.spec.ts took 55.9s
|
Run pnpm exec playwright test --shard=2/4:
[chromium] › ssr-catch-error.spec.ts#L1
[chromium] › ssr-catch-error.spec.ts took 20.4s
|
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-3", "playwright-report-macos-latest-22.7.0-4", "playwright-report-ubuntu-latest-18.17.0-1", "playwright-report-ubuntu-latest-18.17.0-3", "playwright-report-ubuntu-latest-18.17.0-4", "playwright-report-ubuntu-latest-20.8.0-1", "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-3", "playwright-report-ubuntu-latest-22.7.0-4", "playwright-report-windows-latest-22.7.0-1", "playwright-report-windows-latest-22.7.0-3", "playwright-report-windows-latest-22.7.0-4".
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
5 skipped
101 passed (8.4m)
|
Loading