slikc
HOBBYOP
a year ago
Hey all, I was trying to set up an express server, running it with Bun.
The project uses Prisma, and I was wondering if using bun would be the reason it isn't working?
I keep getting this error, which I don't get locally on my Mac
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.plus a load more spam stuff that I don't think is important.
6 Replies
a year ago
are you using nixpacks or your own dockerfile?
a year ago
I would advise you to create a dockerfile instead of using nixpacks, for some reason it isn’t including libssl but you can add it by creating a nixpacks.toml file at the root of your project and pasting this inside:
[phases.setup]
nixLibs = ['...', 'openssl']a year ago
then deploy your project again
