Login exception INTERNAL_SERVER_ERROR
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- sqlite, typescript
- Domain
- authentication, backend, database
Research direction
Start by tracing the SQLite storage configuration in src/utils and how server/store.sqlite is resolved or copied when the server starts. Verify which database file the running server opens and compare it with the file containing the users table; done means the first login no longer reports SQLITE_ERROR: no such table: users.
Written by the indexing model from the issue text.
Description
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?
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 808
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apollographql/fullstack-tutorial
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
investigate
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
documentation
apollographql/fullstack-tutorial#285 · 3 comments · 1 assignee ·
-
investigate
Difficulty 3/5 1-2 days Newbie friendliness 35/100
apollographql/fullstack-tutorial#255 · 2 reactions ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 25/100
apollographql/fullstack-tutorial#254 · 2 comments ·
All issues in apollographql/fullstack-tutorial
Similar issues
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Mend: dependency security vulnerability untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 70/100