P
Prisma2mo ago
bill92

`PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime` error

I'm having an error when trying to bundle my application with ts up
PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "darwin-arm64".

This is likely caused by a bundler that has not copied "libquery_engine-darwin-arm64.dylib.node" next to the resulting bundle.
Ensure that "libquery_engine-darwin-arm64.dylib.node" has been copied next to the bundle or in "packages/api/dist".

We would appreciate if you could take the time to share some information with us.
Please help us by answering a few questions: https://pris.ly/engine-not-found-bundler-investigation
PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "darwin-arm64".

This is likely caused by a bundler that has not copied "libquery_engine-darwin-arm64.dylib.node" next to the resulting bundle.
Ensure that "libquery_engine-darwin-arm64.dylib.node" has been copied next to the bundle or in "packages/api/dist".

We would appreciate if you could take the time to share some information with us.
Please help us by answering a few questions: https://pris.ly/engine-not-found-bundler-investigation
3 Replies
bill92
bill922mo ago
The error is fixed when copying the libquery_engine-darwin-arm64.dylib.node file right next to my bundle I need to do this manually, are there any workarounds I can make for this?
roobr
roobr2mo ago
did you find a resolution for this? @bill92
David
David5w ago
Did you?
Want results from more Discord servers?
Add your server
More Posts