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 errors with a Prisma Client error `...It seems there is a problem with your OpenSSL installation!...`

See original GitHub issue

Bug description

Can’t use the localhost with prisma studio.

Error starting Prisma Client: {

  "message": "Unable to establish a connection to query-engine-node-api library. It seems there is a problem with your OpenSSL installation!\n\u001b[31m\u001b[1mDetails:\u001b[22m\u001b[39m Unable to require(`/home/matheus/www/nlw/esports/server/node_modules/@prisma/engines/libquery_engine-debian-openssl-1.1.x.so.node`)\n libssl.so.1.1: cannot open shared object file: No such file or directory\n[Context: getConfig]\n\nPrisma CLI Version : 4.3.1",
  "stack": "Unable to establish a connection to query-engine-node-api library. It seems there is a problem with your OpenSSL installation!\n\u001b[31m\u001b[1mDetails:\u001b[22m\u001b[39m Unable to require(`/home/matheus/www/nlw/esports/server/node_modules/@prisma/engines/libquery_engine-debian-openssl-1.1.x.so.node`)\n libssl.so.1.1: cannot open shared object file: No such file or directory\n[Context: getConfig]\n\nPrisma CLI Version : 4.3.1"
}
Error: Error starting Prisma Client: {
  "message": "Unable to establish a connection to query-engine-node-api library. It seems there is a problem with your OpenSSL installation!\n\u001b[31m\u001b[1mDetails:\u001b[22m\u001b[39m Unable to require(`/home/matheus/www/nlw/esports/server/node_modules/@prisma/engines/libquery_engine-debian-openssl-1.1.x.so.node`)\n libssl.so.1.1: cannot open shared object file: No such file or directory\n[Context: getConfig]\n\nPrisma CLI Version : 4.3.1",
  "stack": "Unable to establish a connection to query-engine-node-api library. It seems there is a problem with your OpenSSL installation!\n\u001b[31m\u001b[1mDetails:\u001b[22m\u001b[39m Unable to require(`/home/matheus/www/nlw/esports/server/node_modules/@prisma/engines/libquery_engine-debian-openssl-1.1.x.so.node`)\n libssl.so.1.1: cannot open shared object file: No such file or directory\n[Context: getConfig]\n\nPrisma CLI Version : 4.3.1"
}
    at qs.init (http://localhost:5555/assets/index.js:1:83069)

How to reproduce

I just run the command: npx prisma studio

Expected behavior

Enter in localhost and run my database.

Prisma information

Environment & setup

  • OS:
  • Browser:
  • Database:

Prisma logs

No response

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
Matheus-S-Costacommented, Oct 13, 2022

I use linux distro ubuntu.

running whereis openssl: openssl: /usr/bin/openssl /usr/include/openssl /home/matheus/anaconda3/bin/openssl /usr/share/man/man1/openssl.1ssl.gz

1reaction
Matheus-S-Costacommented, Nov 11, 2022

@Matheus-S-Costa Did you solve your issue? What did you do? We’re curious to know.

I uninstalled anaconda from my desktop and tried again. It wasn’t the ideal solution for me, but was the easiest way. Thanks for help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Prisma schema API (Reference)
API reference documentation for the Prisma Schema Language (PSL). ... is enforced by foreign keys in the database or emulated in the Prisma...
Read more >
Unknown binaryTarget debian-openssl-3.0.x and no custom ...
Error : Unknown binaryTarget debian-openssl-3.0.x and no custom binaries were provided error Command failed with exit code 1. openssl · prisma.
Read more >
Command Line Interface | RedwoodJS Docs
The Prisma Client must be generated prior to running this command, e.g. yarn redwood prisma generate . This is a known issue. yarn...
Read more >
Deploying sveltekit app on vercel, problems (fetching ... - Reddit
2/node_modules/@prisma/client /var /var/task /var/task /tmp/prisma-engines /var/task You already added the platform "rhel-openssl-1.0.x" to the "generator" ...
Read more >
Addressed Issues in GlobalProtect App 6.0 - Palo Alto Networks
See the list of addressed issues in GlobalProtect app 6.0 for Android, iOS, Chrome, Windows, Windows 10 UWP, macOS, and Linux.
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