Clever TaglineC
Convex Community16mo ago
10 replies
Clever Tagline

Error deploying to Vercel

I built my app using the Remix quickstart code from the docs, added Clerk for auth, and everything works fine locally. When deploying to Vercel per the Convex docs, however, it just generates a ton of errors.

First on the list—and likely what's causing the rest—is ConvexReactClient requires a URL like 'https://happy-otter-123.convex.cloud'. I found other posts about this and manually added VITE_CONVEX_URL to the environment variables in the Vercel project settings (not mentioned in the docs, BTW), but it's still failing. Attached are screenshots of my Vercel config.
Screenshot_2024-09-26_at_5.06.22_AM.png
Screenshot_2024-09-26_at_5.06.43_AM.png
Was this page helpful?