Issue with prisma

Hi I keep getting this message about OpenSSL when deploying my app to heroku and trying to run it
No description
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...
Jump to solution
8 Replies
Luna.py
Luna.pyOP2w ago
I also have a model titled Session as well. So not sure why it’s saying that doesn’t exist
Nurul
Nurul2w ago
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?
Luna.py
Luna.pyOP7d ago
Yes I’ll try that and keep you updated Used slim and still got the same error
Faro
Faro7d ago
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...
Luna.py
Luna.pyOP7d ago
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
Yetzederixx
Yetzederixx7d ago
is the table actually in the database? eg did your migration apply
Luna.py
Luna.pyOP7d ago
Yeah the table is in the db. I’ve applied migrations, pushed, pulled, Generated
Solution
Luna.py
Luna.pythis hour
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
FROM node:18-apline
RUN apk add --no-cache openssl
FROM node:18-apline
RUN apk add --no-cache openssl
Want results from more Discord servers?
Add your server