Question

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

Open · 48 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

1 answer