Prisma (v5.22.0) not working on deploy (on server startup)

mattz6
HOBBY

5 months ago

- PrismaClientInitializationError: Unable to require(`/app/node_modules/.prisma/client/libquery_engine-debian-openssl-3.0.x.so.node`).
- Prisma cannot find the required `libssl` system library in your system. Please install openssl-3.0.x and try again.
- Details: libssl.so.3: cannot open shared object file: No such file or directory
      at new PrismaClientInitializationError (/app/node_modules/@prisma/client/runtime/library.js:21:1872)
      at /app/node_modules/@prisma/client/runtime/library.js:111:10243
- Bun v1.1.34 (Linux x64)

I'm getting this error on deploy step

Awaiting User Response

1 Replies

5 months ago

Hello,

Due to Nixpacks not supporting the latest version of Bun I would have to recommend you move to a Dockerfile based build, and in doing so you will likely fix this error.

Best,
Brody


Status changed to Awaiting User Response railway[bot] 5 months ago


Prisma (v5.22.0) not working on deploy (on server startup) - Railway Help Station