Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: fs-router to use new_createPages & fix staticPaths #1003

Merged
merged 38 commits into from
Dec 6, 2024
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
745d701
fix: render type test issues with new_createPages
tylersayshi Nov 12, 2024
dbf430b
Merge remote-tracking branch 'upstream/main' into refactor-e2e-test-c…
tylersayshi Nov 14, 2024
15931b2
wrong mapping
tylersayshi Nov 14, 2024
0cf6fa6
fix: render type with right mapping
tylersayshi Nov 15, 2024
12c8770
Merge remote-tracking branch 'upstream/main' into refactor-e2e-test-c…
tylersayshi Nov 15, 2024
474adb6
fix: regression to layouts
tylersayshi Nov 15, 2024
48bb258
fix: remove stale comment
tylersayshi Nov 15, 2024
bdfec76
refactor: use new_createPages for fs-router
tylersayshi Nov 15, 2024
4500c06
Merge branch 'dai-shi:main' into refactor-fs-router
tylersayshi Nov 18, 2024
8232409
Merge branch 'dai-shi:main' into refactor-fs-router
tylersayshi Nov 18, 2024
cd89be0
Merge remote-tracking branch 'upstream/main' into refactor-fs-router
tylersayshi Nov 24, 2024
0a950ad
Merge branch 'main' into refactor-fs-router
dai-shi Nov 25, 2024
f7f0887
Merge branch 'main' into refactor-fs-router
dai-shi Nov 25, 2024
4a8723c
try updating rsc managed
tylersayshi Nov 26, 2024
4edcfa9
fix static paths in create pages
tylersayshi Nov 26, 2024
b7c6cbd
Merge branch 'main' into refactor-fs-router
tylersayshi Nov 26, 2024
a20a274
add test
tylersayshi Nov 26, 2024
26e09b8
logs and refactor of new_createPages
tylersayshi Nov 28, 2024
8586f6b
fix OOM!!!!
tylersayshi Nov 29, 2024
4d51add
Merge remote-tracking branch 'upstream/main' into refactor-fs-router
tylersayshi Nov 29, 2024
e187fae
test fixes
tylersayshi Nov 29, 2024
7741c0b
fix complex test
tylersayshi Nov 29, 2024
c9bff5d
revert to writeFile from writeFileSync
tylersayshi Nov 29, 2024
27092f9
remove log
tylersayshi Nov 29, 2024
5ab2859
revert rsc-renderer
tylersayshi Nov 29, 2024
b412f5f
slice emitStaticFiles parrallelization
tylersayshi Nov 29, 2024
8c04a31
Merge remote-tracking branch 'upstream/main' into refactor-fs-router
tylersayshi Dec 3, 2024
e03912c
revert create pages changes
tylersayshi Dec 3, 2024
f6e4e05
fix: staticPath items should have matching patterns
tylersayshi Dec 3, 2024
92d3676
fix: Use page path prop for ssg-performance
tylersayshi Dec 4, 2024
81ad79d
Merge branch 'main' into refactor-fs-router
tylersayshi Dec 4, 2024
edfc3e1
fix: path and slug name
tylersayshi Dec 5, 2024
15af92b
fix: type import and path as prop for layout
tylersayshi Dec 5, 2024
00e317b
fix: error on [path] file use in fs-router
tylersayshi Dec 5, 2024
f8a084e
fix: createLayout type remove hash
tylersayshi Dec 5, 2024
727f65e
Merge remote-tracking branch 'upstream/main' into refactor-fs-router
tylersayshi Dec 6, 2024
0ec5ac6
chore: remove ssg-performance _layout
tylersayshi Dec 6, 2024
f132c4f
Revert "chore: remove ssg-performance _layout"
tylersayshi Dec 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions e2e/fixtures/ssg-performance/src/Path.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { getPath } from './context.js';

export function Path() {
return <h1>{getPath()}</h1>;
export function Path({ path }: { path: string }) {
return <h1>{path}</h1>;
}
17 changes: 0 additions & 17 deletions e2e/fixtures/ssg-performance/src/context.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import type { PageProps } from 'waku/router';
import { Path } from '../Path.js';

export default async function Test() {
export default async function Test({ path }: PageProps<'/[slug]'>) {
await new Promise((resolve) => setTimeout(resolve, 1000));
return <Path />;
return <Path path={path} />;
}

export async function getConfig() {
9 changes: 2 additions & 7 deletions e2e/fixtures/ssg-performance/src/pages/_layout.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
import type { PropsWithChildren } from 'react';
import { setPath } from '../context.js';

export default function Layout({
children,
path,
}: PropsWithChildren<{ path: string }>) {
setPath(path);
return children;
export default function Layout({ children }: PropsWithChildren) {
return <div>{children}</div>;
}
2 changes: 1 addition & 1 deletion e2e/fixtures/ssg-wildcard/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "waku-example",
"name": "ssg-wildcard",
"version": "0.1.0",
"type": "module",
"private": true,
2 changes: 1 addition & 1 deletion examples/11_fs-router/src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { StrictMode } from 'react';
import { createRoot, hydrateRoot } from 'react-dom/client';
import { Router } from 'waku/router/client';
import { NewRouter as Router } from 'waku/router/client';

const rootElement = (
<StrictMode>
5 changes: 1 addition & 4 deletions examples/44_cloudflare/waku.cloudflare-dev-server.ts
Original file line number Diff line number Diff line change
@@ -9,10 +9,7 @@ export const cloudflareDevServer = (cfOptions: any) => {
Object.assign(globalThis, { WebSocketPair });
});
return async (req: Request, app: Hono<BlankEnv, BlankSchema>) => {
const [proxy, _] = await Promise.all([
await wranglerPromise,
await miniflarePromise,
]);
const [proxy, _] = await Promise.all([wranglerPromise, miniflarePromise]);
Object.assign(req, { cf: proxy.cf });
Object.assign(globalThis, {
caches: proxy.caches,
512 changes: 262 additions & 250 deletions packages/waku/src/lib/builder/build.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/waku/src/lib/plugins/vite-plugin-rsc-managed.ts
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ export default fsRouter(
const getManagedMain = () => `
import { StrictMode, createElement } from 'react';
import { createRoot, hydrateRoot } from 'react-dom/client';
import { Router } from 'waku/router/client';
import { NewRouter as Router } from 'waku/router/client';
const rootElement = createElement(StrictMode, null, createElement(Router));
8 changes: 6 additions & 2 deletions packages/waku/src/router/fs-router.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { unstable_getPlatformObject } from '../server.js';
import { createPages } from './create-pages.js';
import { new_createPages as createPages } from './create-pages.js';

import { EXTENSIONS } from '../lib/constants.js';

@@ -64,7 +64,11 @@ export function fsRouter(
? pathItems.slice(0, -1)
: pathItems
).join('/');
if (pathItems.at(-1) === '_layout') {
if (pathItems.at(-1) === '[path]') {
throw new Error(
'Page file cannot be named [path]. This will conflict with the path prop of the page component.',
);
} else if (pathItems.at(-1) === '_layout') {
createLayout({
path,
component: mod.default,

Unchanged files with check annotations Beta

import { expect } from '@playwright/test';

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on macos-latest (Node 22.7.0) - (4/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /Users/runner/work/_temp/waku-ssr-catch-error-HPu97M/node_modules/waku/dist/middleware/context.js is dynamically imported by /Users/runner/work/_temp/waku-ssr-catch-error-HPu97M/node_modules/waku/dist/lib/config.js, /Users/runner/work/_temp/waku-ssr-catch-error-HPu97M/waku.config.ts but also statically imported by /Users/runner/work/_temp/waku-ssr-catch-error-HPu97M/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on macos-latest (Node 22.7.0) - (4/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /Users/runner/work/_temp/waku-ssr-catch-error-O47Mr2/node_modules/waku/dist/middleware/context.js is dynamically imported by /Users/runner/work/_temp/waku-ssr-catch-error-O47Mr2/node_modules/waku/dist/lib/config.js, /Users/runner/work/_temp/waku-ssr-catch-error-O47Mr2/waku.config.ts but also statically imported by /Users/runner/work/_temp/waku-ssr-catch-error-O47Mr2/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on macos-latest (Node 22.7.0) - (4/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /Users/runner/work/_temp/waku-ssr-catch-error-lJLw6H/node_modules/waku/dist/middleware/context.js is dynamically imported by /Users/runner/work/_temp/waku-ssr-catch-error-lJLw6H/node_modules/waku/dist/lib/config.js, /Users/runner/work/_temp/waku-ssr-catch-error-lJLw6H/waku.config.ts but also statically imported by /Users/runner/work/_temp/waku-ssr-catch-error-lJLw6H/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on macos-latest (Node 22.7.0) - (1/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /Users/runner/work/_temp/waku-ssr-catch-error-luxx0L/node_modules/waku/dist/middleware/context.js is dynamically imported by /Users/runner/work/_temp/waku-ssr-catch-error-luxx0L/node_modules/waku/dist/lib/config.js, /Users/runner/work/_temp/waku-ssr-catch-error-luxx0L/waku.config.ts but also statically imported by /Users/runner/work/_temp/waku-ssr-catch-error-luxx0L/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on macos-latest (Node 22.7.0) - (3/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /Users/runner/work/_temp/waku-ssr-catch-error-odY2a3/node_modules/waku/dist/middleware/context.js is dynamically imported by /Users/runner/work/_temp/waku-ssr-catch-error-odY2a3/node_modules/waku/dist/lib/config.js, /Users/runner/work/_temp/waku-ssr-catch-error-odY2a3/waku.config.ts but also statically imported by /Users/runner/work/_temp/waku-ssr-catch-error-odY2a3/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on macos-latest (Node 22.7.0) - (3/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /Users/runner/work/_temp/waku-ssr-catch-error-9syCuZ/node_modules/waku/dist/middleware/context.js is dynamically imported by /Users/runner/work/_temp/waku-ssr-catch-error-9syCuZ/node_modules/waku/dist/lib/config.js, /Users/runner/work/_temp/waku-ssr-catch-error-9syCuZ/waku.config.ts but also statically imported by /Users/runner/work/_temp/waku-ssr-catch-error-9syCuZ/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on macos-latest (Node 22.7.0) - (3/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /Users/runner/work/_temp/waku-ssr-catch-error-dmSzDj/node_modules/waku/dist/middleware/context.js is dynamically imported by /Users/runner/work/_temp/waku-ssr-catch-error-dmSzDj/node_modules/waku/dist/lib/config.js, /Users/runner/work/_temp/waku-ssr-catch-error-dmSzDj/waku.config.ts but also statically imported by /Users/runner/work/_temp/waku-ssr-catch-error-dmSzDj/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on macos-latest (Node 22.7.0) - (2/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /Users/runner/work/_temp/waku-ssr-catch-error-xaBtEE/node_modules/waku/dist/middleware/context.js is dynamically imported by /Users/runner/work/_temp/waku-ssr-catch-error-xaBtEE/node_modules/waku/dist/lib/config.js, /Users/runner/work/_temp/waku-ssr-catch-error-xaBtEE/waku.config.ts but also statically imported by /Users/runner/work/_temp/waku-ssr-catch-error-xaBtEE/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on macos-latest (Node 22.7.0) - (2/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /Users/runner/work/_temp/waku-ssr-catch-error-MuGkDy/node_modules/waku/dist/middleware/context.js is dynamically imported by /Users/runner/work/_temp/waku-ssr-catch-error-MuGkDy/node_modules/waku/dist/lib/config.js, /Users/runner/work/_temp/waku-ssr-catch-error-MuGkDy/waku.config.ts but also statically imported by /Users/runner/work/_temp/waku-ssr-catch-error-MuGkDy/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 18.17.0) - (4/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /home/runner/work/_temp/waku-ssr-catch-error-maLfyZ/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-maLfyZ/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-maLfyZ/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-maLfyZ/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 18.17.0) - (4/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /home/runner/work/_temp/waku-ssr-catch-error-EjqAQF/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-EjqAQF/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-EjqAQF/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-EjqAQF/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 18.17.0) - (4/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /home/runner/work/_temp/waku-ssr-catch-error-Lm2qE8/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-Lm2qE8/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-Lm2qE8/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-Lm2qE8/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 22.7.0) - (3/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /home/runner/work/_temp/waku-ssr-catch-error-ZdtycY/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-ZdtycY/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-ZdtycY/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-ZdtycY/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 22.7.0) - (3/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /home/runner/work/_temp/waku-ssr-catch-error-colcUg/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-colcUg/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-colcUg/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-colcUg/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 22.7.0) - (3/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /home/runner/work/_temp/waku-ssr-catch-error-FrBNBe/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-FrBNBe/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-FrBNBe/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-FrBNBe/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 20.8.0) - (1/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /home/runner/work/_temp/waku-ssr-catch-error-Lvh2zu/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-Lvh2zu/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-Lvh2zu/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-Lvh2zu/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 22.7.0) - (1/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /home/runner/work/_temp/waku-ssr-catch-error-2NZKet/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-2NZKet/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-2NZKet/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-2NZKet/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 20.8.0) - (3/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /home/runner/work/_temp/waku-ssr-catch-error-bVBocJ/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-bVBocJ/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-bVBocJ/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-bVBocJ/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 20.8.0) - (3/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /home/runner/work/_temp/waku-ssr-catch-error-EJyFp4/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-EJyFp4/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-EJyFp4/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-EJyFp4/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 20.8.0) - (3/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /home/runner/work/_temp/waku-ssr-catch-error-c2oaZ2/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-c2oaZ2/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-c2oaZ2/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-c2oaZ2/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 18.17.0) - (1/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /home/runner/work/_temp/waku-ssr-catch-error-RUo6MC/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-RUo6MC/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-RUo6MC/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-RUo6MC/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 22.7.0) - (2/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /home/runner/work/_temp/waku-ssr-catch-error-JmVAbl/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-JmVAbl/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-JmVAbl/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-JmVAbl/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 22.7.0) - (2/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /home/runner/work/_temp/waku-ssr-catch-error-0Fr1I9/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-0Fr1I9/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-0Fr1I9/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-0Fr1I9/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 22.7.0) - (4/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /home/runner/work/_temp/waku-ssr-catch-error-rWskD3/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-rWskD3/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-rWskD3/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-rWskD3/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 22.7.0) - (4/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /home/runner/work/_temp/waku-ssr-catch-error-Qf5Xx0/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-Qf5Xx0/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-Qf5Xx0/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-Qf5Xx0/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 22.7.0) - (4/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /home/runner/work/_temp/waku-ssr-catch-error-h5wr4Y/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-h5wr4Y/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-h5wr4Y/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-h5wr4Y/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 18.17.0) - (2/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /home/runner/work/_temp/waku-ssr-catch-error-9m0ZIV/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-9m0ZIV/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-9m0ZIV/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-9m0ZIV/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 18.17.0) - (2/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /home/runner/work/_temp/waku-ssr-catch-error-ZffkJc/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-ZffkJc/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-ZffkJc/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-ZffkJc/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 18.17.0) - (3/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /home/runner/work/_temp/waku-ssr-catch-error-RwO4e2/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-RwO4e2/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-RwO4e2/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-RwO4e2/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 18.17.0) - (3/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /home/runner/work/_temp/waku-ssr-catch-error-PZIiy6/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-PZIiy6/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-PZIiy6/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-PZIiy6/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 18.17.0) - (3/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /home/runner/work/_temp/waku-ssr-catch-error-XNIlGG/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-XNIlGG/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-XNIlGG/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-XNIlGG/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 20.8.0) - (2/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /home/runner/work/_temp/waku-ssr-catch-error-Lui8iZ/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-Lui8iZ/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-Lui8iZ/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-Lui8iZ/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 20.8.0) - (2/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /home/runner/work/_temp/waku-ssr-catch-error-khduoL/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-khduoL/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-khduoL/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-khduoL/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on windows-latest (Node 22.7.0) - (4/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) D:/a/_temp/waku-ssr-catch-error-6T91RR/node_modules/waku/dist/middleware/context.js is dynamically imported by D:/a/_temp/waku-ssr-catch-error-6T91RR/node_modules/waku/dist/lib/config.js, D:/a/_temp/waku-ssr-catch-error-6T91RR/waku.config.ts but also statically imported by D:/a/_temp/waku-ssr-catch-error-6T91RR/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on windows-latest (Node 22.7.0) - (4/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) D:/a/_temp/waku-ssr-catch-error-X1Dha3/node_modules/waku/dist/middleware/context.js is dynamically imported by D:/a/_temp/waku-ssr-catch-error-X1Dha3/node_modules/waku/dist/lib/config.js, D:/a/_temp/waku-ssr-catch-error-X1Dha3/waku.config.ts but also statically imported by D:/a/_temp/waku-ssr-catch-error-X1Dha3/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on windows-latest (Node 22.7.0) - (4/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) D:/a/_temp/waku-ssr-catch-error-u44PmN/node_modules/waku/dist/middleware/context.js is dynamically imported by D:/a/_temp/waku-ssr-catch-error-u44PmN/node_modules/waku/dist/lib/config.js, D:/a/_temp/waku-ssr-catch-error-u44PmN/waku.config.ts but also statically imported by D:/a/_temp/waku-ssr-catch-error-u44PmN/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on windows-latest (Node 22.7.0) - (1/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) D:/a/_temp/waku-ssr-catch-error-5KgmcD/node_modules/waku/dist/middleware/context.js is dynamically imported by D:/a/_temp/waku-ssr-catch-error-5KgmcD/node_modules/waku/dist/lib/config.js, D:/a/_temp/waku-ssr-catch-error-5KgmcD/waku.config.ts but also statically imported by D:/a/_temp/waku-ssr-catch-error-5KgmcD/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on windows-latest (Node 22.7.0) - (3/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) D:/a/_temp/waku-ssr-catch-error-zN3b82/node_modules/waku/dist/middleware/context.js is dynamically imported by D:/a/_temp/waku-ssr-catch-error-zN3b82/node_modules/waku/dist/lib/config.js, D:/a/_temp/waku-ssr-catch-error-zN3b82/waku.config.ts but also statically imported by D:/a/_temp/waku-ssr-catch-error-zN3b82/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on windows-latest (Node 22.7.0) - (3/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) D:/a/_temp/waku-ssr-catch-error-E5e0nh/node_modules/waku/dist/middleware/context.js is dynamically imported by D:/a/_temp/waku-ssr-catch-error-E5e0nh/node_modules/waku/dist/lib/config.js, D:/a/_temp/waku-ssr-catch-error-E5e0nh/waku.config.ts but also statically imported by D:/a/_temp/waku-ssr-catch-error-E5e0nh/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on windows-latest (Node 22.7.0) - (3/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) D:/a/_temp/waku-ssr-catch-error-EmMlLX/node_modules/waku/dist/middleware/context.js is dynamically imported by D:/a/_temp/waku-ssr-catch-error-EmMlLX/node_modules/waku/dist/lib/config.js, D:/a/_temp/waku-ssr-catch-error-EmMlLX/waku.config.ts but also statically imported by D:/a/_temp/waku-ssr-catch-error-EmMlLX/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on windows-latest (Node 22.7.0) - (2/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) D:/a/_temp/waku-ssr-catch-error-plH58g/node_modules/waku/dist/middleware/context.js is dynamically imported by D:/a/_temp/waku-ssr-catch-error-plH58g/node_modules/waku/dist/lib/config.js, D:/a/_temp/waku-ssr-catch-error-plH58g/waku.config.ts but also statically imported by D:/a/_temp/waku-ssr-catch-error-plH58g/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on windows-latest (Node 22.7.0) - (2/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) D:/a/_temp/waku-ssr-catch-error-AR6eW3/node_modules/waku/dist/middleware/context.js is dynamically imported by D:/a/_temp/waku-ssr-catch-error-AR6eW3/node_modules/waku/dist/lib/config.js, D:/a/_temp/waku-ssr-catch-error-AR6eW3/waku.config.ts but also statically imported by D:/a/_temp/waku-ssr-catch-error-AR6eW3/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 20.8.0) - (4/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /home/runner/work/_temp/waku-ssr-catch-error-0bK7h7/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-0bK7h7/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-0bK7h7/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-0bK7h7/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 20.8.0) - (4/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /home/runner/work/_temp/waku-ssr-catch-error-v7W4Sg/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-v7W4Sg/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-v7W4Sg/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-v7W4Sg/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.

Check failure on line 1 in e2e/ssr-catch-error.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 20.8.0) - (4/4)

Child Process Error

stderr: [plugin:vite:reporter] [plugin vite:reporter] (!) /home/runner/work/_temp/waku-ssr-catch-error-ZwkxmR/node_modules/waku/dist/middleware/context.js is dynamically imported by /home/runner/work/_temp/waku-ssr-catch-error-ZwkxmR/node_modules/waku/dist/lib/config.js, /home/runner/work/_temp/waku-ssr-catch-error-ZwkxmR/waku.config.ts but also statically imported by /home/runner/work/_temp/waku-ssr-catch-error-ZwkxmR/node_modules/waku/dist/server.js, dynamic import will not move module into another chunk.
import { execSync, exec } from 'node:child_process';
import { fileURLToPath } from 'node:url';
import { cp, mkdtemp } from 'node:fs/promises';
import { exec, spawn } from 'node:child_process';

Check failure on line 1 in e2e/create-waku.spec.ts

GitHub Actions / E2E on macos-latest (Node 22.7.0) - (1/4)

Child Process Error

stderr: Could not execute pnpm install. Please run

Check failure on line 1 in e2e/create-waku.spec.ts

GitHub Actions / E2E on macos-latest (Node 22.7.0) - (3/4)

Child Process Error

stderr: Could not execute pnpm install. Please run

Check failure on line 1 in e2e/create-waku.spec.ts

GitHub Actions / E2E on macos-latest (Node 22.7.0) - (2/4)

Child Process Error

stderr: Could not execute pnpm install. Please run

Check failure on line 1 in e2e/create-waku.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 22.7.0) - (3/4)

Child Process Error

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

Check failure on line 1 in e2e/create-waku.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 22.7.0) - (3/4)

Child Process Error

stderr: Could not execute pnpm install. Please run

Check failure on line 1 in e2e/create-waku.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 20.8.0) - (1/4)

Child Process Error

stderr: node:internal/bootstrap/switches/does_own_process_state:138 cachedCwd = rawMethods.cwd(); ^ Error: ENOENT: no such file or directory, uv_cwd at process.wrappedCwd (node:internal/bootstrap/switches/does_own_process_state:138: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 v20.8.0

Check failure on line 1 in e2e/create-waku.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 20.8.0) - (1/4)

Child Process Error

stderr: Could not execute pnpm install. Please run

Check failure on line 1 in e2e/create-waku.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 22.7.0) - (1/4)

Child Process Error

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

Check failure on line 1 in e2e/create-waku.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 22.7.0) - (1/4)

Child Process Error

stderr: Could not execute pnpm install. Please run

Check failure on line 1 in e2e/create-waku.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 20.8.0) - (3/4)

Child Process Error

stderr: node:internal/bootstrap/switches/does_own_process_state:138 cachedCwd = rawMethods.cwd(); ^ Error: ENOENT: no such file or directory, uv_cwd at process.wrappedCwd (node:internal/bootstrap/switches/does_own_process_state:138: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 v20.8.0

Check failure on line 1 in e2e/create-waku.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 20.8.0) - (3/4)

Child Process Error

stderr: Could not execute pnpm install. Please run

Check failure on line 1 in e2e/create-waku.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 18.17.0) - (1/4)

Child Process Error

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/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 v18.17.0

Check failure on line 1 in e2e/create-waku.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 18.17.0) - (1/4)

Child Process Error

stderr: Could not execute pnpm install. Please run

Check failure on line 1 in e2e/create-waku.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 22.7.0) - (2/4)

Child Process Error

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

Check failure on line 1 in e2e/create-waku.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 22.7.0) - (2/4)

Child Process Error

stderr: Could not execute pnpm install. Please run

Check failure on line 1 in e2e/create-waku.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 18.17.0) - (2/4)

Child Process Error

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/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 v18.17.0

Check failure on line 1 in e2e/create-waku.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 18.17.0) - (2/4)

Child Process Error

stderr: Could not execute pnpm install. Please run

Check failure on line 1 in e2e/create-waku.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 18.17.0) - (3/4)

Child Process Error

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/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' }

Check failure on line 1 in e2e/create-waku.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 18.17.0) - (3/4)

Child Process Error

stderr: Node.js v18.17.0

Check failure on line 1 in e2e/create-waku.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 18.17.0) - (3/4)

Child Process Error

stderr: Could not execute pnpm install. Please run

Check failure on line 1 in e2e/create-waku.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 20.8.0) - (2/4)

Child Process Error

stderr: Could not execute pnpm install. Please run

Check failure on line 1 in e2e/create-waku.spec.ts

GitHub Actions / E2E on windows-latest (Node 22.7.0) - (1/4)

Child Process Error

stderr: node:events:498 throw er; // Unhandled 'error' event ^ Error: EPIPE: broken pipe, write at Socket._write (node:internal/net:63:18) at writeOrBuffer (node:internal/streams/writable:570:12) at _write (node:internal/streams/writable:499:10) at Writable.write (node:internal/streams/writable:508:10) at console.value (node:internal/console/constructor:300:16) at console.log (node:internal/console/constructor:383:26) at ConsumerObserver2.next (C:\Users\runneradmin\setup-pnpm\node_modules\.pnpm\pnpm@9.4.0\node_modules\pnpm\dist\pnpm.cjs:23275:29) at Subscriber2._next (C:\Users\runneradmin\setup-pnpm\node_modules\.pnpm\pnpm@9.4.0\node_modules\pnpm\dist\pnpm.cjs:23244:26) at Subscriber2.next (C:\Users\runneradmin\setup-pnpm\node_modules\.pnpm\pnpm@9.4.0\node_modules\pnpm\dist\pnpm.cjs:23217:16) at C:\Users\runneradmin\setup-pnpm\node_modules\.pnpm\pnpm@9.4.0\node_modules\pnpm\dist\pnpm.cjs:26952:24 Emitted 'error' event on Socket instance at: at emitErrorNT (node:internal/streams/destroy:170:8) at emitErrorCloseNT (node:internal/streams/destroy:129:3) at process.processTicksAndRejections (node:internal/process/task_queues:90:21) { errno: -4047, syscall: 'write', code: 'EPIPE' } Node.js v22.7.0

Check failure on line 1 in e2e/create-waku.spec.ts

GitHub Actions / E2E on windows-latest (Node 22.7.0) - (1/4)

Child Process Error

stderr: Could not execute pnpm install. Please run

Check failure on line 1 in e2e/create-waku.spec.ts

GitHub Actions / E2E on windows-latest (Node 22.7.0) - (3/4)

Child Process Error

stderr: node:events:498 throw er; // Unhandled 'error' event ^ Error: EPIPE: broken pipe, write at Socket._write (node:internal/net:63:18) at writeOrBuffer (node:internal/streams/writable:570:12) at _write (node:internal/streams/writable:499:10) at Writable.write (node:internal/streams/writable:508:10) at console.value (node:internal/console/constructor:300:16) at console.log (node:internal/console/constructor:383:26) at ConsumerObserver2.next (C:\Users\runneradmin\setup-pnpm\node_modules\.pnpm\pnpm@9.4.0\node_modules\pnpm\dist\pnpm.cjs:23275:29) at Subscriber2._next (C:\Users\runneradmin\setup-pnpm\node_modules\.pnpm\pnpm@9.4.0\node_modules\pnpm\dist\pnpm.cjs:23244:26) at Subscriber2.next (C:\Users\runneradmin\setup-pnpm\node_modules\.pnpm\pnpm@9.4.0\node_modules\pnpm\dist\pnpm.cjs:23217:16) at C:\Users\runneradmin\setup-pnpm\node_modules\.pnpm\pnpm@9.4.0\node_modules\pnpm\dist\pnpm.cjs:26952:24 Emitted 'error' event on Socket instance at: at emitErrorNT (node:internal/streams/destroy:170:8) at emitErrorCloseNT (node:internal/streams/destroy:129:3) at process.processTicksAndRejections (node:internal/process/task_queues:90:21) { errno: -4047, syscall: 'write', code: 'EPIPE' } Node.js v22.7.0

Check failure on line 1 in e2e/create-waku.spec.ts

GitHub Actions / E2E on windows-latest (Node 22.7.0) - (3/4)

Child Process Error

stderr: Could not execute pnpm install. Please run

Check failure on line 1 in e2e/create-waku.spec.ts

GitHub Actions / E2E on windows-latest (Node 22.7.0) - (2/4)

Child Process Error

stderr: node:events:498 throw er; // Unhandled 'error' event ^ Error: EPIPE: broken pipe, write at Socket._write (node:internal/net:63:18) at writeOrBuffer (node:internal/streams/writable:570:12) at _write (node:internal/streams/writable:499:10) at Writable.write (node:internal/streams/writable:508:10) at console.value (node:internal/console/constructor:300:16) at console.log (node:internal/console/constructor:383:26) at ConsumerObserver2.next (C:\Users\runneradmin\setup-pnpm\node_modules\.pnpm\pnpm@9.4.0\node_modules\pnpm\dist\pnpm.cjs:23275:29) at Subscriber2._next (C:\Users\runneradmin\setup-pnpm\node_modules\.pnpm\pnpm@9.4.0\node_modules\pnpm\dist\pnpm.cjs:23244:26) at Subscriber2.next (C:\Users\runneradmin\setup-pnpm\node_modules\.pnpm\pnpm@9.4.0\node_modules\pnpm\dist\pnpm.cjs:23217:16) at C:\Users\runneradmin\setup-pnpm\node_modules\.pnpm\pnpm@9.4.0\node_modules\pnpm\dist\pnpm.cjs:26952:24 Emitted 'error' event on Socket instance at: at emitErrorNT (node:internal/streams/destroy:170:8) at emitErrorCloseNT (node:internal/streams/destroy:129:3) at process.processTicksAndRejections (node:internal/process/task_queues:90:21) { errno: -4047, syscall: 'write', code: 'EPIPE' } Node.js v22.7.0

Check failure on line 1 in e2e/create-waku.spec.ts

GitHub Actions / E2E on windows-latest (Node 22.7.0) - (2/4)

Child Process Error

stderr: Could not execute pnpm install. Please run
import { fileURLToPath } from 'node:url';
import crypto from 'node:crypto';
import { mkdir, readdir, cp, readFile, writeFile } from 'node:fs/promises';
await page.getByTestId('increment').click();
await page.getByTestId('increment').click();
await page.getByTestId('increment').click();
await expect(page.getByTestId('count')).toHaveText('3');

Check failure on line 58 in e2e/ssr-basic.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 22.7.0) - (4/4)

[webkit] › ssr-basic.spec.ts:51:5 › ssr-basic: dev › increase counter

1) [webkit] › ssr-basic.spec.ts:51:5 › ssr-basic: dev › increase counter ───────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('count') Expected string: "3" Received string: "2" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByTestId('count') 14 × locator resolved to <p data-testid="count">2</p> - unexpected value "2" 56 | await page.getByTestId('increment').click(); 57 | await page.getByTestId('increment').click(); > 58 | await expect(page.getByTestId('count')).toHaveText('3'); | ^ 59 | }); 60 | 61 | test('vercel ai', async ({ page }) => { at /home/runner/work/waku/waku/e2e/ssr-basic.spec.ts:58:47

Check failure on line 58 in e2e/ssr-basic.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 20.8.0) - (4/4)

[webkit] › ssr-basic.spec.ts:51:5 › ssr-basic: dev › increase counter

1) [webkit] › ssr-basic.spec.ts:51:5 › ssr-basic: dev › increase counter ───────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('count') Expected string: "3" Received string: "2" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByTestId('count') 14 × locator resolved to <p data-testid="count">2</p> - unexpected value "2" 56 | await page.getByTestId('increment').click(); 57 | await page.getByTestId('increment').click(); > 58 | await expect(page.getByTestId('count')).toHaveText('3'); | ^ 59 | }); 60 | 61 | test('vercel ai', async ({ page }) => { at /home/runner/work/waku/waku/e2e/ssr-basic.spec.ts:58:47
});
test('vercel ai', async ({ page }) => {
});
const page = await context.newPage();
await page.goto(`http://localhost:${port}/`);
await expect(page.getByTestId('value')).toHaveText('provider value');

Check failure on line 65 in e2e/ssr-context-provider.spec.ts

GitHub Actions / E2E on ubuntu-latest (Node 20.8.0) - (2/4)

[chromium] › ssr-context-provider.spec.ts:59:5 › ssr-context-provider: dev › no js environment

1) [chromium] › ssr-context-provider.spec.ts:59:5 › ssr-context-provider: dev › no js environment Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('value') Expected string: "provider value" Received string: "original" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByTestId('value') 14 × locator resolved to <div data-testid="value">original</div> - unexpected value "original" 63 | const page = await context.newPage(); 64 | await page.goto(`http://localhost:${port}/`); > 65 | await expect(page.getByTestId('value')).toHaveText('provider value'); | ^ 66 | await page.close(); 67 | await context.close(); 68 | }); at /home/runner/work/waku/waku/e2e/ssr-context-provider.spec.ts:65:47
await page.close();
await context.close();
});