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.
5 Replies
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 deployedIn 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
It was.
Does pnpx/npx respect your package json?
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 😅Amazing! Thank you @ian 😍