apollographql / apollographql/fullstack-tutorial
Login exception INTERNAL_SERVER_ERROR
- Lenguaje dominante
- TypeScript
- Estrellas
- 1.2k
- Forks
- 808
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
When performing the first login I receive this error:
```
"SQLITE_ERROR: no such table: users",
```
The sqlite db is there and I can read from it with an sql tool. I've also verified that the table `users` is available.
The location of this file is in `server/store.sqlite` but somehow when I run my server it gets copied to the root folder (whic part of the logic does this, maybe sequelize?)
I can read from `src/utils` that `storage: './store.sqlite',` so I guess the db should be located inside the `server/src` directory, but even copying it manually inside `src` doesn't fix the problem.
Maybe I've missed a step somehow?
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Comienza rastreando la configuración de almacenamiento de SQLite en src/utils y cómo se resuelve o copia server/store.sqlite cuando se inicia el servidor. Verifica qué archivo de base de datos abre el servidor en ejecución y compáralo con el archivo que contiene la tabla users; el trabajo estará terminado cuando el primer inicio de sesión ya no informe SQLITE_ERROR: no such table: users.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- sqlite, typescript
- Área
- authentication, backend, database
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 35/100