-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NodeJS + Docker | Unable to establish a connection to query-engine-node-api library. It seems there is a problem with your OpenSSL installation! #16182
Comments
Everything seems to work fine now. All I changed was the node image I was pulling in my Dockerfile. I was using this base image: Can't believe it was just the wrong version hahah. |
Hi @noah-haub, I'm closing this issue as you've found a working solution: using The RUN apt-get update -y \
&& apt-get install -y openssl
|
Doesn't work for me. Still getting with |
Hi @pimmesz, could you please open a new issue using this issue template? It looks like you're on an |
Thanks for your reply. I have an open issue at the moment. I'm running |
Bug description
I want to use docker compose with NodeJS and Prisma, but for some reason keep getting this error when running it on my Digital Ocean Droplet.
npx prisma generate
Prisma schema loaded from prisma/schema.prisma
Error: Unable to establish a connection to query-engine-node-api library. It seems there is a problem with your OpenSSL installation!
Details: Unable to require(
/app/node_modules/prisma/libquery_engine-debian-openssl-1.1.x.so.node
)libssl.so.1.1: cannot open shared object file: No such file or directory
[Context: getDmmf]
Prisma CLI Version : 4.6.0docker-compose
How to reproduce
Create a simple NodeJS + Express application and use Prisma in it.
Expected behavior
I excpected prisma generate to work. It works when developing locally, but not when I deploy it to my Digital Ocean Droplet.
Prisma information
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: