Example playground: Start compat config never reaches Vite (`pnpm run dev -- --config`)
Los mantenedores suelen responder en 1 día
Ya se ha fusionado un pull request relacionado.
- #1359 de @Sheraff — fusionado
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 78/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript, vite
- Área
- tooling
Línea de trabajo
Empieza en src/utils/example-webcontainer-start.ts, en getWebContainerStartCommand, y compara su comando de pnpm con el comando de terminal que funciona y que se describe en el issue. Lee tests/example-webcontainer-start.test.ts, que actualmente comprueba la forma --. Actualiza el comando y su prueba de forma coherente; el trabajo estará terminado cuando el playground pase la configuración de Vite y el flujo de Posts funcione sin el error del servidor indicado.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Found while testing TanStack Router PR #8504 in the playground. The rest of this was written by Claude (an AI agent), which investigated and reproduced it.
🤖 The Start async-context compatibility config is never applied in the example playground, so server functions fail there even with published packages.
Repro: open start-basic → Playground, wait for "Ready", click Posts. The server responds 500 with No Start context found in AsyncLocalStorage and the page shows posts is not iterable.
Cause: getWebContainerStartCommand returns pnpm run dev -- --config .tanstack/vite.config.mjs. The pnpm in the WebContainer forwards the -- to the script, which runs vite dev "--" "--config" ".tanstack/vite.config.mjs", and Vite ignores everything after --. So the async-context transform, noExternal and the self-runner config are never loaded.
Running the same thing without -- in the playground terminal (NAPI_RS_NATIVE_LIBRARY_PATH=@rolldown/binding-wasm32-wasi NITRO_DEV_RUNNER=self npx vite dev --config .tanstack/vite.config.mjs --port 3001) loads the config (Vite logs "Re-optimizing dependencies because vite config has changed"), and Home → Posts → a post works.
Possible fix: drop the -- for pnpm (pnpm forwards arguments after the script name; npm still needs --), or spawn vite directly. tests/example-webcontainer-start.test.ts currently asserts the -- form.
- Lenguaje dominante
- TypeScript
- Estrellas
- 1.1k
- Forks
- 405
- Merge medio
- 5 h 36 min
- PR fusionados (30 d)
- 56
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de TanStack/tanstack.com
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
TanStack/tanstack.com#1362 ·
Los mantenedores suelen responder en 1 día
-
Checkbox in dropdown doesn't scroll with itemsPosiblemente ocupada @6TELOIV la tomó hace 12 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
TanStack/tanstack.com#1304 ·
Los mantenedores suelen responder en 1 día
-
"bundle report" link navigates to 404 on Markdown docsPosiblemente ocupada @lukonik la tomó hace 43 días. Abiertosource-audit
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
TanStack/tanstack.com#1195 ·
Los mantenedores suelen responder en 1 día
-
source-audit
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
TanStack/tanstack.com#1194 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
source-audit
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
TanStack/tanstack.com#1177 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de TanStack/tanstack.com
Issues similares
-
nextjs-tracking
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
cloudflare/vinext#3887 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
apache/rocketmq-dashboard#6331 ·
Los mantenedores suelen responder en 5 días
-
bug cache clinical-safety P1-critical
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
juspay/blend-design-system#1788 ·
Los mantenedores suelen responder en 1 día
-
[Analytics] Add Focus Time-Block Efficiency Ratio Calculator in src/lib/focus/efficiency-ratio.tsAbiertoanalytics beginner friendly community contributions-welcome enhancement good first issue hacktoberfest help wanted up-for-grabs
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día