convex typescript
What version of the demos repo, and what version of convex are you using here?
5 Replies
convex 0.1.10, and i'm following the link
Users and Auth | Convex Developer Hub
Just about any application on the public internet needs user authentication.
In convex 0.2.0 we changed "table" to "query," so it looks like the code you have and the convex version you're using don't match https://blog.convex.dev/announcing-convex-0-2-0/#breaking-dbtable-%E2%86%92-dbquery
(which doesn't mean it's not out bug! the tutorials repo is supposed to use exactly the convex version it is designed to work with)
I suggest upgrading convex in that demo, I'd do this with
rm -r node_modules; npm i
If you just cloned the repo in the last couple days you should be set, but if you cloned the demos repo a while ago you might need to pull too.oh I'm not using the demos repo, this is my personal project! didn't realize the change was made so that's my bad. thank you!
Oh great! Sorry we don't have an old version of the docs to reference, so it's probably easiest if you upgrade convex so that the examples match.