R
Railway8mo ago
armaan

"Prisma cannot find the required `libssl` system lib" Can't run Prisma with Bun

Hello! I tried deploying an Elysia server that uses Prisma. Unfortunately, I'm getting this. Not sure how to fix it :\ any help is appreciated
No description
9 Replies
Percy
Percy8mo ago
Project ID: 363e74b3-52e1-4284-a5af-ba7fff46d4af
armaan
armaan8mo ago
363e74b3-52e1-4284-a5af-ba7fff46d4af Tried creating a nixpacks.toml with the following but it didn't work either
[phases.setup]
aptPkgs = ["...", "openssl", "libssl-dev"]
[phases.setup]
aptPkgs = ["...", "openssl", "libssl-dev"]
Don’t want to be annoying but still struggling with this :( any help is appreciated
Brody
Brody8mo ago
this is about all the help i can offer, a link to another thread https://discord.com/channels/713503345364697088/1153202108741455893/1156224686968021133
armaan
armaan8mo ago
yea i looked at that thread and tried like everything from there but it didnt work it's all good tho i understand ur human too
Brody
Brody8mo ago
I haven't ever used bun, so unfortunately that's all I have to offer
armaan
armaan8mo ago
welp i was able to bypass this by using a dockerfile the only problem is bun isn't properly working in docker and the process dies from over-using resources like cpu and memory maybe i should have wrote my api in node and not got too excited about something new 🫠
Brody
Brody8mo ago
the realisation sets in lol even if you got this to work with nixpacks, that's still docker btw
armaan
armaan8mo ago
yea the whole thing just doesn't work with docker both on my local machine and on railway welp i guess im going back to node for now
Brody
Brody8mo ago
it's probably for the better