darryl
darryl
PPrisma
Created by darryl on 12/10/2024 in #help-and-questions
Working Build to Non-working Build, OpenSSL & Platform Issues, Docker, Linux, Mac
I'm suddenly having issues with creating a new docker image of my nextjs with prisma app. The issues relate to openssl and the wrong prisma binary being built for the wrong environment. I've now wasted half a day so far trying to resolve this issue. What gets me the most though, is that I literally built this project about a week ago without issue and it is running in production. So why can I now not build the same Docker image at the same git ref? It's so frustrating.
8 replies
PPrisma
Created by darryl on 7/5/2023 in #help-and-questions
Error: @prisma/client did not initialize yet. Please run "prisma generate"
I have several Nextjs v12 projects using Prisma with a remote Postgresql db. Today when trying to deploy I came across this error message for no known reason.
Error: @prisma/client did not initialize yet. Please run "prisma generate" and try to import it again.
Error: @prisma/client did not initialize yet. Please run "prisma generate" and try to import it again.
I deploy to a Caprover server using a Dockerfile. These projects build fine locally, with no issues. So far I've tried regenerating the client and re-installing @prisma/client. I have also tried adding RUN npx prisma generate to my Dockerfile, this results in a new error:
Error: Get config: Unable to establish a connection to query-engine-node-api library
Error: Get config: Unable to establish a connection to query-engine-node-api library
How do I go about finding the root of the issue? Any advice greatly appreciated.
2 replies