Failing to Deploy due to Prisma
ikadeknandasanjaya
HOBBYOP

7 months ago

Hello i keep getting this crashed while deploying

PrismaClientInitializationError: Unable to require(``).

The Prisma engines do not seem to be compatible with your system. Please refer to the documentation about Prisma's system requirements: https://pris.ly/d/system-requirements

Details: Module did not self-register: ''.

at Object.loadLibrary (/app/node_modules/@prisma/client/runtime/library.js:110:10219)

at async Cr.loadEngine (/app/node_modules/@prisma/client/runtime/library.js:111:448)

at async Cr.instantiateLibrary (/app/node_modules/@prisma/client/runtime/library.js:110:12575) {

clientVersion: '5.19.1',

errorCode: undefined

}

I think it's related to my prisma, have anyone have the same issue before??

projectID: 4f74db8e-a3b5-42b8-b383-5d9a8264d76b

#prisma

$10 Bounty

7 Replies

7 months ago

Can you share the repository?



7 months ago

This is a fairly old prisma version

Could u try setting a "PRISMA_CLIENT_ENGINE_TYPE=binary" env var?


7 months ago

Make sure to re-generate your prisma client after making that change


ikadeknandasanjaya
HOBBYOP

7 months ago

okay let me check


7 months ago

There's a lot of wrong things in that repo, you build your own libquery engine, you have your own bash scripts to check prisma engine types and regenerate...


7 months ago

I don't think this issue is related to Railway itself


Welcome!

Sign in to your Railway account to join the conversation.

Loading...