Issue with prisma
Hi I keep getting this message about OpenSSL when deploying my app to heroku and trying to run it
Solution:Jump to solution
So another user in another discord helped me out and it actually worked.
For anyone else who is currently experiencing this issue, this is what solved the problem
I added this line just after defining the base image to use...
8 Replies
I also have a model titled Session as well. So not sure why it’s saying that doesn’t exist
Hey @Luna.py 👋
Are you using alpine version of node? There was a recent release in alpine causing this issue. Could you try using the slim version of node?
Yes I’ll try that and keep you updated
Used slim and still got the same error
I had this issue yesterday; it is this:
https://github.com/nodejs/docker-node/issues/2175
I solved it by adding this to my Dockerfile:
RUN ln -s /usr/lib/libssl.so.3 /lib/libssl.so.3
GitHub
node:18-alpine
and node:20-alpine
do not have openssl anymore ·...I have a project that uses Prisma. Until few months ago there was no issue with the image but today if I try to build the docker image with following, Prisma fails to build as it does not find open...
I’ll try this out and get back to you - thanks!!
I wound up adding your code and RUN apt-get update -y && apt-get install -y openssl
That took care of the ssl message. Now the only error remaining is the session table not existing
is the table actually in the database? eg did your migration apply
Yeah the table is in the db. I’ve applied migrations, pushed, pulled,
Generated
Solution
So another user in another discord helped me out and it actually worked.
For anyone else who is currently experiencing this issue, this is what solved the problem
I added this line just after defining the base image to use