prisma: `Segmentation fault (core dumped)` when starting Prisma Studio

Bug description

I have deleted node_modules folder then reinstalled all the dependencies. And also I have tried with npx prisma generate and npx prisma migrate dev before giving the npx prisma studio command to solve this issue. But still its the same.

Note : I have not installed prisma globally.

image

How to reproduce

Expected behavior

No response

Prisma information

  • prisma: ^5.1.1

Environment & setup

  • OS: Zorin os 16.3
  • Browser: Chrome, Firefox
  • Database: PostgreSQL
  • Package Manager: PNPM v8.6.12
  • Node Version: 20.5.1

Prisma logs

No response

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Reactions: 1
  • Comments: 15 (7 by maintainers)

Most upvoted comments

@Jolg42 I updated the latest Prisma and Prisma client in a previous project of mine. After that Prisma Studio worked perfectly. Then I shut down my computer reopened it and then tried to access Prisma Studio, but it gave the same error.

@Jolg42 I will check and let you know.

I have not installed prisma globally. so running prisma -v will show nothing.

Then please run it with pnpm or npx so we get the full version information of the Prisma installation you are using. Thanks.

Here it is. image

❯ npx prisma version Environment variables loaded from .env prisma : 5.2.0 @prisma/client : 5.2.0 Current platform : debian-openssl-1.1.x Query Engine (Node-API) : libquery-engine 2804dc98259d2ea960602aca6b8e7fdc03c1758f (at node_modules/@prisma/engines/libquery_engine-debian-openssl-1.1.x.so.node) Schema Engine : schema-engine-cli 2804dc98259d2ea960602aca6b8e7fdc03c1758f (at node_modules/@prisma/engines/schema-engine-debian-openssl-1.1.x) Schema Wasm : @prisma/prisma-schema-wasm 5.2.0-25.2804dc98259d2ea960602aca6b8e7fdc03c1758f Default Engines Hash : 2804dc98259d2ea960602aca6b8e7fdc03c1758f Studio : 0.494.0