-
-
Notifications
You must be signed in to change notification settings - Fork 18
lovable #11
Description
Error: supabaseUrl is required.Error: supabaseKey is required.
SupabaseClient.ts:
51 | this.storageUrl =${supabaseUrl}/storage/v1;
> 52 | this.schema = settings.schema;
These two errors I'm getting in my React project (one at a time, not both together) are rather frustrating since my supabaseUrl and supabaseKey are, and have always been, provided to the createClient() function or SupabaseClient() constructor. For the first error, Supabase complains about line 51 in it's own file. For the second, line 52 is a problem.
I updated @supabase/supabase-js from version 1.22.5 to 1.22.6 and the URL error disappeared temporarily but then I switched to using my Service key instead of my Anon key and now the KEY error has taken its place. Is this a Supabase bug that is plaguing anyone else? Thanks for any tips you might have.
Casey
Originally posted by @CaseyG5 in supabase/supabase#3218