Error when generating types
I'm trying to generate supabase type defs with the supabase js lib.
First i tried using the --local flag, it didn't work. Then I watched supabase video on this and tried the --db-url flag but it still doesn't work.
Here's the command:
(mypassword isn't my real password)
but I get an error like:
First i tried using the --local flag, it didn't work. Then I watched supabase video on this and tried the --db-url flag but it still doesn't work.
Here's the command:
supabase gen types typescript --db-url postgresql://postgres:mypassword@db.pyxgnexupxwssmlauwxj.supabase.co:5432/postgres > src/routes/api/settings/[id]/database.types.ts(mypassword isn't my real password)
but I get an error like: