a year ago
Hey,
For months, I never had any problems deploying my code. It was still working fine two days ago.
All of a sudden yesterday, I pushed some minor changes, and now I’m getting errors in my deployment logs. I tried finding a solution and managed to deploy it, but then I started having all kinds of errors with Prisma.
I didn’t make any changes to my packages or do any updates.
Even when I tried redeploying an older version, it didn’t work either.
Could you please help? Thank you very much!
4 Replies
a year ago
Thanks for your reply, unfortunately I was initially on node:18-slim I moved to 20-alpine to see if it solve the problem which was not. I rolled back now to slim, but still same errors
a year ago
I am unsure if this is the real problem:
#16 1.261 prisma:warn Prisma failed to detect the libssl/openssl version to use, and may not work as expected. Defaulting to "openssl-1.1.x".
Dec 11 12:04:14
#16 1.261 Please manually install OpenSSL and try installing Prisma again.
But at the same time I don't know why this error appear out of the blue and can't manage to solve it
brody
Change node:20-alpine to node:18-slim in your Dockerfile.
a year ago
Just for you to know, someone from prisma help me find out the solution.
It worked when changing to
FROM node:18-alpine3.20 AS base
As I just asked him, I don't know why it suddenly doesn't work with the other version but thank you for your help!
https://www.reddit.com/r/nextjs/comments/1hbot2m/comment/m1k9n5c/?context=3
Status changed to Solved brody • over 1 year ago