← All fixes
Supabase: supabaseUrl is required
#127Error
Error: supabaseUrl is required.
Why it happens, and why this works
createClient got undefined for the URL because the environment variable isn't loaded: wrong name or prefix, .env not read, or not set on the host.
Fix
Use the prefix your framework exposes to the browser: NEXT_PUBLIC_SUPABASE_URL (Next.js), VITE_SUPABASE_URL (Vite, read with import.meta.env). Restart the dev server after editing .env. On Vercel add the variables in Project Settings and redeploy.
Did it work?
No reports yet0 worked0 didn't
Tried it yourself?
Related fixes
ReferenceError: require is not defined in ES module scope
#23ReferenceError: require is not defined in ES module scope, you can use import instead
nodeVerifiedNo reports yet
TypeError: missing 1 required positional argument: 'self'
#73TypeError: Cart.total() missing 1 required positional argument: 'self'
pythonVerifiedNo reports yet
Supabase update/delete returns no error but changes 0 rows (RLS blocks it silently)
#135supabase.from('table').update(...).eq('id', x) returns { error: null } but nothing changes; data is [] / count 0. Same for delete. No 42501 error is raised.