prisma / studio

🎙️ The easiest way to explore and manipulate your data in all of your Prisma projects.
https://www.prisma.io/studio
1.9k stars 47 forks source link

Fatal Error Occurring When Prisma Studio Is Initialized #1264

Open ArmanTR13 opened 3 months ago

ArmanTR13 commented 3 months ago

Bug description

Error says "A non-recoverable error has occurred. Reload Studio to continue. Consider reporting this error to us by opening an issue on GitHub and attaching the error details."

How to reproduce

  1. Run 'npx prisma studio` with direct url at supabase pooler url'
  2. See error
  3. Press see details
  4. See description: "Unable to process count query undefined"

Alternatively

  1. Run 'npx prisma db push'
  2. See error in cmd line: "Error: P1001: Can't reach database server at aws-0-us-east-1.pooler.supabase.com:5342

Please make sure your database server is running at aws-0-us-east-1.pooler.supabase.com:5342."

Expected behavior

I can see my supabase database information.

Prisma information

prisma : 5.17.0 @prisma/client : 5.17.0

Environment & setup

Prisma logs

"% npx prisma db push Environment variables loaded from .env Prisma schema loaded from prisma/schema.prisma Datasource "db": PostgreSQL database "postgres", schema "public" at "aws-0-us-east-1.pooler.supabase.com:5342"

Error: P1001: Can't reach database server at aws-0-us-east-1.pooler.supabase.com:5342

Please make sure your database server is running at aws-0-us-east-1.pooler.supabase.com:5342."

"% npx prisma studio Environment variables loaded from .env Prisma schema loaded from prisma/schema.prisma Prisma Studio is up on http://localhost:5555"

yale1995 commented 1 month ago

I am facing the same error