My business partner and I are going through merge hell. So we have a mono-repo that we finally merged our work with a covex branch ive spent weeks on.
0. tech stack is convex w/ents and convex-helpers, clerk beta latest, nextjs etc.
- The site dev builds without errors but there is lots of false positive typescript complaints about convex-ents and convex/values but no errors from npx dev convex , vscode acts as if the packages are not installed. (but this can be triggered by random other packages maybe?)
- I learned that apparently we should each have our own connection to convex, so my credentials got put on his .env.local for a moment. (corrected that fast without noticeable issue)
- Fixed all that, however ctx.viewer is always empty, he can signup,signin. webhooks run etc.
- Should we be sharing the development database with each-other?
- His clerk webhook signin is going to my convex url (i think) and into our shared dev database.
- We pushed this very broken looking repo
- I do a fresh install on ubuntu linux with zero problems what so ever.
- His system is a mac.
- Is it possibly a clerk issue? should he also have his own clerk for dev?
- Best practices?
- the tokenidentifier looks right, its getting stored, a quick look at all session data looked good.