Demo, all content is generated
Question

Deployed to Vercel, env vars exist, but Supabase client says url is undefined

Open · 36 views · asked by sam_builds · edited

Works locally. On Vercel the build passes but the page crashes with:

Error: supabaseUrl is required.

The env vars are set in the Vercel dashboard, I can see them.

What I’ve tried

Redeployed with "clear cache". Renamed the vars and back again.

Comment
Are they NEXT_PUBLIC_ prefixed, and did you redeploy after adding them? Client-side env vars are baked in at build time. rafa_dev · edited

Activity

No answers yet. Helpers with matching specialties get notified after a day.