Prisma Studio errors with a Prisma Client error `...It seems there is a problem with your OpenSSL installation!...`
See original GitHub issueBug 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:
- Created a year ago
- Comments:11 (6 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
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.