fix: improve resolveClient for DEV #5258
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-Pbdomy/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-Pbdomy/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-Pbdomy/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-Pbdomy/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-FwL8Ia/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-FwL8Ia/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-FwL8Ia/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-FwL8Ia/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:144
cachedCwd = rawMethods.cwd();
^
Error: ENOENT: no such file or directory, uv_cwd
at process.wrappedCwd (node:internal/bootstrap/switches/does_own_process_state:144:28)
at process.cwd (/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.4.0/node_modules/pnpm/dist/pnpm.cjs:45:23)
at process.cwd (/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.4.0/node_modules/pnpm/dist/pnpm.cjs:7749:23)
at ../node_modules/.pnpm/get-source@2.0.12/node_modules/get-source/impl/path.js (/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.4.0/node_modules/pnpm/dist/pnpm.cjs:38842:58)
at __require (/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.4.0/node_modules/pnpm/dist/pnpm.cjs:12:50)
at ../node_modules/.pnpm/get-source@2.0.12/node_modules/get-source/get-source.js (/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.4.0/node_modules/pnpm/dist/pnpm.cjs:38933:17)
at __require (/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.4.0/node_modules/pnpm/dist/pnpm.cjs:12:50)
at ../node_modules/.pnpm/stacktracey@2.1.8/node_modules/stacktracey/stacktracey.js (/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.4.0/node_modules/pnpm/dist/pnpm.cjs:39240:21)
at __require (/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.4.0/node_modules/pnpm/dist/pnpm.cjs:12:50)
at ../cli/default-reporter/lib/reportError.js (/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.4.0/node_modules/pnpm/dist/pnpm.cjs:39481:42) {
errno: -2,
code: 'ENOENT',
syscall: 'uv_cwd'
}
Node.js v22.7.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
40563 stderr: Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/runner/work/waku/waku/examples/42_react-tweet/home/runner/work/waku/waku/node_modules/.pnpm/react-tweet@3.2.0_react-dom@19.0.0-rc-5c56b873-20241107_react@19.0.0-rc-5c56b873-20241107__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 finalizeResolution (node:internal/modules/esm/resolve:257:11)
at moduleResolve (node:internal/modules/esm/resolve:914:10)
at defaultResolve (node:internal/modules/esm/resolve:1038:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:554:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:523:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:246:38)
at onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:481:36)
at TracingChannel.tracePromise (node:diagnostics_channel:337:14)
at ModuleLoader.import (node:internal/modules/esm/loader:480:21)
at defaultImportModuleDynamicallyForModule (node:internal/modules/esm/utils:214:31)
at importModuleDynamicallyCallback (node:internal/modules/esm/utils:253:12)
at loadServerModuleMain (file:///home/runner/work/waku/waku/packages/waku/dist/lib/middleware/dev-server-impl.js:146:46) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///home/runner/work/waku/waku/examples/42_react-tweet/home/runner/work/waku/waku/node_modules/.pnpm/react-tweet@3.2.0_react-dom@19.0.0-rc-5c56b873-20241107_react@19.0.0-rc-5c56b873-20241107__re_n26otrjmoamx67qv6scqewcd6y/node_modules/react-tweet/dist/twitter-theme/tweet-info-created-at.js'
}
|
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.7m
|
Run pnpm exec playwright test --shard=2/4:
[firefox] › broken-link.spec.ts#L1
[firefox] › broken-link.spec.ts took 1.2m
|
Run pnpm exec playwright test --shard=2/4:
[firefox] › multi-platform.spec.ts#L1
[firefox] › multi-platform.spec.ts took 53.3s
|
Run pnpm exec playwright test --shard=2/4:
[firefox] › examples-smoke.spec.ts#L1
[firefox] › examples-smoke.spec.ts took 52.7s
|
Run pnpm exec playwright test --shard=2/4:
[chromium] › ssr-catch-error.spec.ts#L1
[chromium] › ssr-catch-error.spec.ts took 22.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-3", "playwright-report-ubuntu-latest-18.17.0-4", "playwright-report-ubuntu-latest-20.8.0-1", "playwright-report-ubuntu-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 (7.9m)
|
Loading