amppA
Convex Community2y ago
7 replies
ampp

Adding a 2nd developer on covex issues/questions

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.
1. 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?)
2. 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)
3. Fixed all that, however ctx.viewer is always empty, he can signup,signin. webhooks run etc.
4. Should we be sharing the development database with each-other?
5. His clerk webhook signin is going to my convex url (i think) and into our shared dev database.
6. We pushed this very broken looking repo
7. I do a fresh install on ubuntu linux with zero problems what so ever.
8. His system is a mac.
9. Is it possibly a clerk issue? should he also have his own clerk for dev?
10. Best practices?
11. the tokenidentifier looks right, its getting stored, a quick look at all session data looked good.
Was this page helpful?