The Aleks
The Aleks14mo ago

Module "convex/server" has no exported member SystemTableNames

I just started getting this error today. Both on 1.5.1 and 1.6.2. No idea why the generator is generating this import if it isn't to be found in the underlying convex library.
No description
5 Replies
The Aleks
The AleksOP14mo ago
hmmm... A full uninstall and reinstall of Convex fixed it It's creating weird errors across the different convex helpers (relations helpers for instance). Okay, so traced it down: - The relationship and rowLevelSecurity helper typings need to be updated to support 1.6.2 - The convex CLI used by vercel will use 1.6.2 - Locally I'm using 1.5.1 Would be amazing to get a typing update to the helpers so I can fix this going forward. That being said, using npx convex in vercel should probably be versioned to the same version as the project being deployed
ian
ian14mo ago
In your package.json was it 1.5.1 when vercel was using 1.6.2 somehow? That’s surprising! I’ll work on updating the helpers and bundling them into an npm package
The Aleks
The AleksOP14mo ago
It was. Does pnpx/npx respect your package json?
ian
ian14mo ago
I updated the relationship and rowLevelSecurity helpers in the repo btw @The Aleks ! Also they are both now available from the convex-helpers npm package 🎉 so you don't have to copy-paste anymore 😅
The Aleks
The AleksOP14mo ago
Amazing! Thank you @ian 😍

Did you find this page helpful?