The code now supplies a detailed error message when an invalid Supabase Service Role Key is provided. The error message prompts the user to check the SUPABASE_SERVICE_ROLE_KEY environment variable ensuring clearer debugging.
Supabase - @kit/supabase
This package is responsible for managing the Supabase client and various utilities related to Supabase.
Make sure the app installs the @kit/supabase package before using it.
{
"name": "my-app",
"dependencies": {
"@kit/supabase": "*"
}
}