question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

prisma studio crashes when connecting to Supabase with: 'Segmentation fault' error

See original GitHub issue

Bug description

When starting prisma studio, logs in the console are okay until message ‘Prisma Studio is up on http://localhost:5555’ then crashes with msg: ’ ERROR  Command was killed with SIGSEGV (Segmentation fault): /home/xxx/.local/share/pnpm/store/v3/tmp/dlx-301926/node_modules/.bin/prisma studio

How to reproduce

Expected behavior

to see prisma studio interface when connecting to Supabase

Prisma information

I followed this guide: https://supabase.com/docs/guides/integrations/prisma the prisma migrate running well, tables are created on Supabase

Environment & setup

Linux Mint 20.3 node v17.3.1 pnpm v7.3.0

Prisma Version


V4.0

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
aqrlncommented, Sep 16, 2022

Thank you for the report!

I’m closing this issue in favour of https://github.com/prisma/prisma/issues/10649 as a duplicate to consolidate them and make it easier to keep track of the issue. Please post any questions or additional details in that thread, or open a new issue if you experience a similar problem under completely different conditions (e.g., with other DBMS or operating systems).

While we are looking for the best way to fix or prevent the underlying problem, the recommended workaround for affected users is to make sure that the versions of OpenSSL used by Node.js and the system OpenSSL match:

  • either by downgrading Node.js to 16.x,
  • or by upgrading the operating system (or Docker image) to use OpenSSL 3 — this might be less suitable for production systems, but this is a good option if you only encounter the issue on you local machine during development.

Alternatively, if you can’t do that and you need to stay with Node.js 18 on a system with OpenSSL 1.1.x, you can switch to the binary engine in Prisma.

1reaction
ibreslauercommented, Sep 14, 2022

@janpio v18.7.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hello to all I cant succeed to open prisma studio when conne | Orm ...
Hello to all I cant succeed to open prisma studio when connected to Supabase got this error and crashes Command was killed with...
Read more >
Node application crashes on prisma request (segmentation ...
Prisma is connecting to my own Postgres database outside of fly.io (it's a supabase postgres instance), not sure if that is relevant at...
Read more >
Prisma - Supabase
This guide explains how to quickly connect the Postgres database provided by Supabase to a Prisma project. Prisma is an open source next-generation...
Read more >
Prisma 4.4.0 Release - GitClear
The error message will now be more useful ( P2035 error code), and Prisma Client should not cause these errors anymore. If you...
Read more >
sitemap-posts.xml - freeCodeCamp
... -by-non-int-of-type-float-solved-python-error-3/ 2022-12-21T21:13:46.000Z ... .freecodecamp.org/news/crash-course-object-oriented-programming-in-python/ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found