Skip to content

Error: Prisma Client could not locate the Query Engine for runtime "linux-musl-arm64-openssl-3.0.x". #22519

Closed Answered by monqyClouds
Sakub asked this question in Q&A
Discussion options

You must be logged in to vote

This has been my issue for a while now, however, I've seen a solution which might work for you, add
COPY prisma ./prisma/
above "RUN npm install" and you don't need "RUN prisma generate". Nothing has worked for me so far, but I've seen several cases where it worked

Finally it worked for me, my issue was that I was referring to the host port instead of the container port in my db connection string as I was using docker compose for all my services. The initial suggestion still stands however.

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@ludralph
Comment options

@monqyClouds
Comment options

Answer selected by ludralph
@mattgraphlan
Comment options

Comment options

You must be logged in to vote
2 replies
@ai-is-awesome
Comment options

@teovillanueva
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
8 participants