Errors
Error: supabaseKey is required
Error message
Error: supabaseKey is required
The .env value is being evaluated to undefined or other invalid key secret.
Solution
NextJS environments have a convention for exposing the .env secrets to the client side.
All secrets that need to flow to the client component needs prepending of:
NEXT_PUBLIC_
In this case, we should be naming the supabase environment variables as:
NEXT_PUBLIC_SUPABASE_URL=*****
NEXT_PUBLIC_SUPABASE_ANON_KEY=*****
supabase feature not enabled for this tenant
Error message
supabase feature not enabled for this tenant
Solution
You don't have the premium account enabled for features like storage v2 CDN to be used