R
Railway•7mo ago
wilsonlewis

Urgent: Prisma cannot find the required `libssl`

My site just went down. I am having the same problem as this https://discord.com/channels/713503345364697088/1175401667978604575 I am having a hard time figuring out the solution based on the this thread Could someone please help?
Solution:
Went back to "1.20.0" and it worked!!
Jump to solution
66 Replies
Percy
Percy•7mo ago
Project ID: b5402dad-9099-401e-9018-f479371b2f41
wilsonlewis
wilsonlewis•7mo ago
b5402dad-9099-401e-9018-f479371b2f41
Brody
Brody•7mo ago
what is your current nixpacks.toml
wilsonlewis
wilsonlewis•7mo ago
I dont have one. I am working in a typescript turbo-repo monorepo and it is deploying one of the sub-packages I'm not sure how to setup a nixpacks.toml for this
Brody
Brody•7mo ago
are you using bun
wilsonlewis
wilsonlewis•7mo ago
I am not
Brody
Brody•7mo ago
please show the exact error you are getting
wilsonlewis
wilsonlewis•7mo ago
No description
wilsonlewis
wilsonlewis•7mo ago
I set my package.json to
"engines": {
"node": "20"
},
"engines": {
"node": "20"
},
And also tried 18 But neither worked
Brody
Brody•7mo ago
okay try adding a nixpacks.toml file to your project
[phases.setup]
nixLibs = ['openssl']
[phases.setup]
nixLibs = ['openssl']
wilsonlewis
wilsonlewis•7mo ago
Add to the root of the project?
Brody
Brody•7mo ago
is the service deploying from the root of the project?
wilsonlewis
wilsonlewis•7mo ago
The files for the deployment are in a sub-dir, but the commands to build/start come from the root
Brody
Brody•7mo ago
whatever directory the railway service is set to is where the nixpacks.toml file should go
wilsonlewis
wilsonlewis•7mo ago
Ok I will try Thanks for helping, Brody Building...
Want results from more Discord servers?
Add your server