fix: router typegen variable naming #4905
Annotations
10 errors, 5 warnings, and 1 notice
Run pnpm exec playwright test --forbid-only --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/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
|
Run pnpm exec playwright test --forbid-only --shard=2/4:
e2e/create-waku.spec.ts#L1
stderr: Could not execute pnpm install. Please run
|
Run pnpm exec playwright test --forbid-only --shard=2/4
34061 stderr: SyntaxError: /home/runner/work/waku/waku/examples/01_template/src/entries.gen.tsx: Identifier 'undefined' has already been declared. (5:7)
3 |
4 | import undefined, { getConfig as undefined_getConfig } from './pages/_layout';
> 5 | import undefined, { getConfig as undefined_getConfig } from './pages/about';
| ^
6 | import undefined, { getConfig as undefined_getConfig } from './pages/index';
7 |
8 | const _pages = createPages(async (pagesFns) => [
at constructor (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:362:19)
at TypeScriptParserMixin.raise (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:3260:19)
at TypeScriptScopeHandler.checkRedeclarationInScope (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:1507:19)
at TypeScriptScopeHandler.declareName (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:1473:12)
at TypeScriptScopeHandler.declareName (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:6931:11)
at TypeScriptParserMixin.declareNameFromIdentifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:7348:16)
at TypeScriptParserMixin.checkIdentifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:7344:12)
at TypeScriptParserMixin.checkLVal (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:7285:12)
at TypeScriptParserMixin.finishImportSpecifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13730:10)
at TypeScriptParserMixin.parseImportSpecifierLocal (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13727:31)
at TypeScriptParserMixin.maybeParseDefaultImportSpecifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13838:12)
at TypeScriptParserMixin.parseImportSpecifiersAndAfter (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13704:29)
at TypeScriptParserMixin.parseImport (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13700:17)
at TypeScriptParserMixin.parseImport (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:9067:26)
at TypeScriptParserMixin.parseStatementContent (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:12347:27)
at TypeScriptParserMixin.parseStatementContent (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:9151:18)
at TypeScriptParserMixin.parseStatementLike (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:12239:17)
at TypeScriptParserMixin.parseModuleItem (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/
|
Run pnpm exec playwright test --forbid-only --shard=2/4
39581 stderr: SyntaxError: /home/runner/work/waku/waku/examples/01_template/src/entries.gen.tsx: Identifier 'undefined' has already been declared. (5:7)
3 |
4 | import undefined, { getConfig as undefined_getConfig } from './pages/_layout';
> 5 | import undefined, { getConfig as undefined_getConfig } from './pages/about';
| ^
6 | import undefined, { getConfig as undefined_getConfig } from './pages/index';
7 |
8 | const _pages = createPages(async (pagesFns) => [
at constructor (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:362:19)
at TypeScriptParserMixin.raise (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:3260:19)
at TypeScriptScopeHandler.checkRedeclarationInScope (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:1507:19)
at TypeScriptScopeHandler.declareName (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:1473:12)
at TypeScriptScopeHandler.declareName (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:6931:11)
at TypeScriptParserMixin.declareNameFromIdentifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:7348:16)
at TypeScriptParserMixin.checkIdentifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:7344:12)
at TypeScriptParserMixin.checkLVal (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:7285:12)
at TypeScriptParserMixin.finishImportSpecifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13730:10)
at TypeScriptParserMixin.parseImportSpecifierLocal (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13727:31)
at TypeScriptParserMixin.maybeParseDefaultImportSpecifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13838:12)
at TypeScriptParserMixin.parseImportSpecifiersAndAfter (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13704:29)
at TypeScriptParserMixin.parseImport (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13700:17)
at TypeScriptParserMixin.parseImport (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:9067:26)
at TypeScriptParserMixin.parseStatementContent (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:12347:27)
at TypeScriptParserMixin.parseStatementContent (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:9151:18)
at TypeScriptParserMixin.parseStatementLike (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:12239:17)
at TypeScriptParserMixin.parseModuleItem (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/
|
Run pnpm exec playwright test --forbid-only --shard=2/4
35313 stderr: SyntaxError: /home/runner/work/waku/waku/examples/01_template/src/entries.gen.tsx: Identifier 'undefined' has already been declared. (5:7)
3 |
4 | import undefined, { getConfig as undefined_getConfig } from './pages/_layout';
> 5 | import undefined, { getConfig as undefined_getConfig } from './pages/about';
| ^
6 | import undefined, { getConfig as undefined_getConfig } from './pages/index';
7 |
8 | const _pages = createPages(async (pagesFns) => [
at constructor (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:362:19)
at TypeScriptParserMixin.raise (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:3260:19)
at TypeScriptScopeHandler.checkRedeclarationInScope (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:1507:19)
at TypeScriptScopeHandler.declareName (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:1473:12)
at TypeScriptScopeHandler.declareName (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:6931:11)
at TypeScriptParserMixin.declareNameFromIdentifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:7348:16)
at TypeScriptParserMixin.checkIdentifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:7344:12)
at TypeScriptParserMixin.checkLVal (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:7285:12)
at TypeScriptParserMixin.finishImportSpecifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13730:10)
at TypeScriptParserMixin.parseImportSpecifierLocal (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13727:31)
at TypeScriptParserMixin.maybeParseDefaultImportSpecifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13838:12)
at TypeScriptParserMixin.parseImportSpecifiersAndAfter (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13704:29)
at TypeScriptParserMixin.parseImport (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13700:17)
at TypeScriptParserMixin.parseImport (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:9067:26)
at TypeScriptParserMixin.parseStatementContent (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:12347:27)
at TypeScriptParserMixin.parseStatementContent (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:9151:18)
at TypeScriptParserMixin.parseStatementLike (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:12239:17)
at TypeScriptParserMixin.parseModuleItem (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/
|
Run pnpm exec playwright test --forbid-only --shard=2/4
41633 stderr: SyntaxError: /home/runner/work/waku/waku/examples/01_template/src/entries.gen.tsx: Identifier 'undefined' has already been declared. (5:7)
3 |
4 | import undefined, { getConfig as undefined_getConfig } from './pages/_layout';
> 5 | import undefined, { getConfig as undefined_getConfig } from './pages/about';
| ^
6 | import undefined, { getConfig as undefined_getConfig } from './pages/index';
7 |
8 | const _pages = createPages(async (pagesFns) => [
at constructor (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:362:19)
at TypeScriptParserMixin.raise (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:3260:19)
at TypeScriptScopeHandler.checkRedeclarationInScope (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:1507:19)
at TypeScriptScopeHandler.declareName (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:1473:12)
at TypeScriptScopeHandler.declareName (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:6931:11)
at TypeScriptParserMixin.declareNameFromIdentifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:7348:16)
at TypeScriptParserMixin.checkIdentifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:7344:12)
at TypeScriptParserMixin.checkLVal (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:7285:12)
at TypeScriptParserMixin.finishImportSpecifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13730:10)
at TypeScriptParserMixin.parseImportSpecifierLocal (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13727:31)
at TypeScriptParserMixin.maybeParseDefaultImportSpecifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13838:12)
at TypeScriptParserMixin.parseImportSpecifiersAndAfter (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13704:29)
at TypeScriptParserMixin.parseImport (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13700:17)
at TypeScriptParserMixin.parseImport (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:9067:26)
at TypeScriptParserMixin.parseStatementContent (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:12347:27)
at TypeScriptParserMixin.parseStatementContent (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:9151:18)
at TypeScriptParserMixin.parseStatementLike (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:12239:17)
at TypeScriptParserMixin.parseModuleItem (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/
|
Run pnpm exec playwright test --forbid-only --shard=2/4
35123 stderr: SyntaxError: /home/runner/work/waku/waku/examples/03_demo/src/entries.gen.tsx: Identifier 'undefined' has already been declared. (5:7)
3 |
4 | import undefined, { getConfig as undefined_getConfig } from './pages/[slug]';
> 5 | import undefined, { getConfig as undefined_getConfig } from './pages/_layout';
| ^
6 | import undefined, { getConfig as undefined_getConfig } from './pages/index';
7 |
8 | const _pages = createPages(async (pagesFns) => [
at constructor (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:362:19)
at TypeScriptParserMixin.raise (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:3260:19)
at TypeScriptScopeHandler.checkRedeclarationInScope (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:1507:19)
at TypeScriptScopeHandler.declareName (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:1473:12)
at TypeScriptScopeHandler.declareName (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:6931:11)
at TypeScriptParserMixin.declareNameFromIdentifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:7348:16)
at TypeScriptParserMixin.checkIdentifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:7344:12)
at TypeScriptParserMixin.checkLVal (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:7285:12)
at TypeScriptParserMixin.finishImportSpecifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13730:10)
at TypeScriptParserMixin.parseImportSpecifierLocal (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13727:31)
at TypeScriptParserMixin.maybeParseDefaultImportSpecifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13838:12)
at TypeScriptParserMixin.parseImportSpecifiersAndAfter (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13704:29)
at TypeScriptParserMixin.parseImport (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13700:17)
at TypeScriptParserMixin.parseImport (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:9067:26)
at TypeScriptParserMixin.parseStatementContent (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:12347:27)
at TypeScriptParserMixin.parseStatementContent (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:9151:18)
at TypeScriptParserMixin.parseStatementLike (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:12239:17)
at TypeScriptParserMixin.parseModuleItem (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/ind
|
Run pnpm exec playwright test --forbid-only --shard=2/4
35407 stderr: SyntaxError: /home/runner/work/waku/waku/examples/03_demo/src/entries.gen.tsx: Identifier 'undefined' has already been declared. (5:7)
3 |
4 | import undefined, { getConfig as undefined_getConfig } from './pages/[slug]';
> 5 | import undefined, { getConfig as undefined_getConfig } from './pages/_layout';
| ^
6 | import undefined, { getConfig as undefined_getConfig } from './pages/index';
7 |
8 | const _pages = createPages(async (pagesFns) => [
at constructor (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:362:19)
at TypeScriptParserMixin.raise (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:3260:19)
at TypeScriptScopeHandler.checkRedeclarationInScope (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:1507:19)
at TypeScriptScopeHandler.declareName (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:1473:12)
at TypeScriptScopeHandler.declareName (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:6931:11)
at TypeScriptParserMixin.declareNameFromIdentifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:7348:16)
at TypeScriptParserMixin.checkIdentifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:7344:12)
at TypeScriptParserMixin.checkLVal (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:7285:12)
at TypeScriptParserMixin.finishImportSpecifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13730:10)
at TypeScriptParserMixin.parseImportSpecifierLocal (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13727:31)
at TypeScriptParserMixin.maybeParseDefaultImportSpecifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13838:12)
at TypeScriptParserMixin.parseImportSpecifiersAndAfter (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13704:29)
at TypeScriptParserMixin.parseImport (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13700:17)
at TypeScriptParserMixin.parseImport (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:9067:26)
at TypeScriptParserMixin.parseStatementContent (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:12347:27)
at TypeScriptParserMixin.parseStatementContent (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:9151:18)
at TypeScriptParserMixin.parseStatementLike (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:12239:17)
at TypeScriptParserMixin.parseModuleItem (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/ind
|
Run pnpm exec playwright test --forbid-only --shard=2/4
39617 stderr: SyntaxError: /home/runner/work/waku/waku/examples/03_demo/src/entries.gen.tsx: Identifier 'undefined' has already been declared. (5:7)
3 |
4 | import undefined, { getConfig as undefined_getConfig } from './pages/[slug]';
> 5 | import undefined, { getConfig as undefined_getConfig } from './pages/_layout';
| ^
6 | import undefined, { getConfig as undefined_getConfig } from './pages/index';
7 |
8 | const _pages = createPages(async (pagesFns) => [
at constructor (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:362:19)
at TypeScriptParserMixin.raise (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:3260:19)
at TypeScriptScopeHandler.checkRedeclarationInScope (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:1507:19)
at TypeScriptScopeHandler.declareName (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:1473:12)
at TypeScriptScopeHandler.declareName (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:6931:11)
at TypeScriptParserMixin.declareNameFromIdentifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:7348:16)
at TypeScriptParserMixin.checkIdentifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:7344:12)
at TypeScriptParserMixin.checkLVal (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:7285:12)
at TypeScriptParserMixin.finishImportSpecifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13730:10)
at TypeScriptParserMixin.parseImportSpecifierLocal (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13727:31)
at TypeScriptParserMixin.maybeParseDefaultImportSpecifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13838:12)
at TypeScriptParserMixin.parseImportSpecifiersAndAfter (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13704:29)
at TypeScriptParserMixin.parseImport (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13700:17)
at TypeScriptParserMixin.parseImport (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:9067:26)
at TypeScriptParserMixin.parseStatementContent (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:12347:27)
at TypeScriptParserMixin.parseStatementContent (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:9151:18)
at TypeScriptParserMixin.parseStatementLike (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:12239:17)
at TypeScriptParserMixin.parseModuleItem (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/ind
|
Run pnpm exec playwright test --forbid-only --shard=2/4
35529 stderr: SyntaxError: /home/runner/work/waku/waku/examples/03_demo/src/entries.gen.tsx: Identifier 'undefined' has already been declared. (5:7)
3 |
4 | import undefined, { getConfig as undefined_getConfig } from './pages/[slug]';
> 5 | import undefined, { getConfig as undefined_getConfig } from './pages/_layout';
| ^
6 | import undefined, { getConfig as undefined_getConfig } from './pages/index';
7 |
8 | const _pages = createPages(async (pagesFns) => [
at constructor (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:362:19)
at TypeScriptParserMixin.raise (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:3260:19)
at TypeScriptScopeHandler.checkRedeclarationInScope (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:1507:19)
at TypeScriptScopeHandler.declareName (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:1473:12)
at TypeScriptScopeHandler.declareName (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:6931:11)
at TypeScriptParserMixin.declareNameFromIdentifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:7348:16)
at TypeScriptParserMixin.checkIdentifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:7344:12)
at TypeScriptParserMixin.checkLVal (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:7285:12)
at TypeScriptParserMixin.finishImportSpecifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13730:10)
at TypeScriptParserMixin.parseImportSpecifierLocal (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13727:31)
at TypeScriptParserMixin.maybeParseDefaultImportSpecifier (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13838:12)
at TypeScriptParserMixin.parseImportSpecifiersAndAfter (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13704:29)
at TypeScriptParserMixin.parseImport (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:13700:17)
at TypeScriptParserMixin.parseImport (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:9067:26)
at TypeScriptParserMixin.parseStatementContent (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:12347:27)
at TypeScriptParserMixin.parseStatementContent (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:9151:18)
at TypeScriptParserMixin.parseStatementLike (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/index.js:12239:17)
at TypeScriptParserMixin.parseModuleItem (/home/runner/work/waku/waku/node_modules/.pnpm/@babel+parser@7.25.6/node_modules/@babel/parser/lib/ind
|
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 --forbid-only --shard=2/4:
[chromium] › use-router.spec.ts#L1
[chromium] › use-router.spec.ts took 1.8m
|
Run pnpm exec playwright test --forbid-only --shard=2/4:
[firefox] › multi-platform.spec.ts#L1
[firefox] › multi-platform.spec.ts took 59.7s
|
Run pnpm exec playwright test --forbid-only --shard=2/4:
[firefox] › broken-link.spec.ts#L1
[firefox] › broken-link.spec.ts took 58.2s
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "playwright-report-macos-latest-18.17.0-1", "playwright-report-macos-latest-18.17.0-2", "playwright-report-macos-latest-18.17.0-3", "playwright-report-macos-latest-20.8.0-1", "playwright-report-macos-latest-20.8.0-2", "playwright-report-macos-latest-20.8.0-3", "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-windows-latest-18.17.0-1", "playwright-report-windows-latest-18.17.0-2", "playwright-report-windows-latest-18.17.0-3", "playwright-report-windows-latest-20.8.0-1", "playwright-report-windows-latest-20.8.0-2", "playwright-report-windows-latest-20.8.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 --forbid-only --shard=2/4
2 failed
[firefox] › examples-smoke.spec.ts:78:7 › smoke test on 01_template: dev › check title ─────────
[firefox] › examples-smoke.spec.ts:78:7 › smoke test on 03_demo: dev › check title ─────────────
5 skipped
90 passed (9.1m)
|
Loading