OpenSSL error while running prisma generate command
Hey! I'm facing an OpenSSL error when prisma generate command is ran.
I have tried installing
I have tried installing
openssl
package via the aptPkgs
field in nixpacks config but it didn't work53 Replies
Project ID:
N/A
You might find these helpful:
- 13 4.188 Error Unable to establish a connection to query-engine-node-api library.
⚠️ experimental feature
chuck that in nixpacks.toml
lemme try
rip
welp that didn't work
again. he will see it
try using
nixAptPkgs
insteaddoesn't work
whats the error
the packages get installed but the openssl error shows up :/
I hate OpenSSL
Can you make a repo for this
fucking agreeable
uh, I can't share the repository. it is an express.js application and prisma was working fine ~3 hours ago.
try setting
NIXPACKS_DEBIAN=1
rustls where it at 💯💯
🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀
have tried it previously, didn't work
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
hey! it is >= 16
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
didn't get your properly, did you mean to share
nixpacks.toml
?Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
weird, why is the node.js v14?
maybe try removing >= from the version inside your package.json
but you can also set the version manually
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
ohhh
good spot
ah nope 😅
it might seem to have extra space due to the font ligatures turned one
you can set NIXPACKS_NODE_VERSION
No well detect the version form that
From
There is no reason for us to not
tysm!! it worked
is the reason why railway didn't pick this up is 'cause it was a monorepo?
ye
merry christmass ( thank ahmed not me)
can we see the repo plesae
or
the layout *
ur structure
yes
gimme a sec
please pnig reply me when u send it
which app u tryna deploy
like
apps/what
quick question: would railway pick up the node version from
package.json
if it was under the root package.json
apps/serverand what is the root path set to on the service settings in railway dashboard
package.json at root would be used
it doesnt know to look for the package.json in that monorepo
nothing we can really do about that unless there is some definitve way to know which directory it is
/
and the build command is pnpx turbo run server:start
ah gotchayeah. if you set it into root package.json, it would read it
btw
we have firstclass support for turborepo
dunno if ur using it or not but if you aren't i'd recommend it
can just set
NIXPACKS_TURBO_APP_NAME
and it'll run that app👀 didn't knew about this
lemme try it
u need to remove custom build & start comamnds for this
that means theoretically we could read version from two places
it would be the name in
package.json
for that app right?can u send ur turbo.json please
no it might be different
so
turbo.json should say
oh lol thats useless
can u send package.json in apps/server
dependencies yum
okay
thanks
so if u set it to server it should work
im p sure it depends on the package.json name
if not, the directory name
gotcha
need to clean up, few unused dependencies lmfao
haha