SupabaseS
Supabase2mo ago
Dexter

Supabase UI cannot find API keys

Hello, I am using the CurrentAvatar component from supabase UI: https://supabase.com/ui/docs/nextjs/current-user-avatar. I installed everything, however the isntallation created extra client.ts, server.ts and middleware.ts files even though I already had these. I deleted them and now im getting an error that it needs API keys to authenticate. My project structure is as shown in the docs of the UI block and everything is configured correctly. For some reason the hooks cannot read the API keys.

Also it would be great if the installation command did not create folders and files on its own when I already have them as mentioned in the docs.
image.png
Was this page helpful?