Generating typescript schema not working

Im trying to generate typescript schema to use in my project. I put

npx supabase gen types typescript --db-url postgresql://postgres:postgres@db_url:5432/postgres > ./src/schema.ts

And after a while stuck on "connecting" I get error "Error: error running container". Why is this?
Was this page helpful?