dev: dashboard fails on fresh checkout when devtools dist is missing
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 84/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Tranquilo
- Stack tecnológico
- bun, next.js, typescript
Línea de trabajo
Comienza en turbo.json, donde la tarea dev depende actualmente de la compilación del SDK, e inspecciona el comando dev del dashboard y el paquete @databuddy/devtools. Reproduce el problema con bun run dev:dashboard desde un checkout sin packages/devtools/dist y verifica después que se construya el prerrequisito y que /login devuelva 200 sin un paso de compilación manual.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
bun run dev:dashboard can fail on a fresh checkout because the dashboard imports @databuddy/devtools/react, but the dev task only builds @databuddy/sdk before starting the apps.
@databuddy/devtools exports ./react from ./dist/react/index.mjs, so when packages/devtools/dist has not been built yet, Next/Turbopack cannot resolve the dashboard layout import.
Reproduction
- Start from a checkout where
packages/devtools/distis absent. I reproduced this locally by moving that directory out of the way. - Run
bun run dev:dashboard. - Request
http://localhost:3000/loginsoapps/dashboard/app/layout.tsxcompiles.
Actual behavior
The route returns 500 and Next reports:
Module not found: Can't resolve '@databuddy/devtools/react'
./apps/dashboard/app/layout.tsx:6:1
Expected behavior
bun run dev:dashboard should prepare all dist-only workspace packages required by the dashboard, then /login should compile without a manual devtools build step.
Local verification
After the failure above, I ran:
bun run build --filter @databuddy/devtools
That recreated packages/devtools/dist, and the same /login request returned 200 OK on the same dev server.
Likely fix
turbo.json currently has:
"dev": {
"dependsOn": ["@databuddy/sdk#build"],
"cache": false,
"persistent": true
}
A small fix would add the devtools build prerequisite for the dashboard dev path as well, either globally on dev or as a dashboard-specific task if that is preferred.
Happy to open a focused PR against staging if this direction looks right.
Disclosure
I used AI assistance to inspect the repo and format this report. I manually reproduced the failure, verified the 500 response, ran the devtools build, and verified the route recovered with 200 OK.
- Lenguaje dominante
- TypeScript
- Estrellas
- 1.2k
- Forks
- 220
- Merge medio
- 12 h 12 min
- PR fusionados (30 d)
- 295
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
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 databuddy-analytics/Databuddy
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
databuddy-analytics/Databuddy#1106 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
databuddy-analytics/Databuddy#1104 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
databuddy-analytics/Databuddy#1097 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
databuddy-analytics/Databuddy#1092 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
SDK cached reads still revalidate when evaluation is disabled or pendingPosiblemente ocupada @mvanhorn la tomó hace 2 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
databuddy-analytics/Databuddy#1091 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de databuddy-analytics/Databuddy
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
MystenLabs/MemWal#1163 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Mondriaan
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
knaw-huc/textannoviz#709 ·
Los mantenedores suelen responder en 1 día
-
billion-context-pi
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
ranxianglei/billion-context#2521 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Add: YRF Music NepalAbiertostreams:add
Dificultad 1/5 Menos de una hora Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100