Prisma generate command failure

Hi, I am experiencing a build failure at the prisma generate step with the following error:
#11 45.18 ✖ Generating Prisma client

#11 45.18
#11 45.18 Error: Get config: Unable to establish a connection to query-engine-node-api library
#11 45.18
#11 45.18 Prisma CLI Version : 3.15.2
#11 45.18 ✖ Generating Prisma client

#11 45.18
#11 45.18 Error: Get config: Unable to establish a connection to query-engine-node-api library
#11 45.18
#11 45.18 Prisma CLI Version : 3.15.2
This works locally, and nothing has changed in my codebase to cause this error. I started getting this error yesterday, and am getting it on when trying to deploy the codebase in a state that worked previously. I do not have a nixpacks config file, nor do I have a monorepo. Here is the info that prints when the build starts:
╔══════════════ Nixpacks v1.0.2 ══════════════╗
║ setup │ nodejs-14_x, yarn-1_x, openssl ║
║─────────────────────────────────────────────║
║ install │ yarn install --frozen-lockfile ║
║─────────────────────────────────────────────║
║ build │ yarn build ║
║─────────────────────────────────────────────║
║ start │ yarn start ║
╚═════════════════════════════════════════════╝
╔══════════════ Nixpacks v1.0.2 ══════════════╗
║ setup │ nodejs-14_x, yarn-1_x, openssl ║
║─────────────────────────────────────────────║
║ install │ yarn install --frozen-lockfile ║
║─────────────────────────────────────────────║
║ build │ yarn build ║
║─────────────────────────────────────────────║
║ start │ yarn start ║
╚═════════════════════════════════════════════╝
I have read this thread: https://discord.com/channels/713503345364697088/1053671377930043482/1053671377930043482 And attempted several of the suggested fixes, but setting NIXPACKS_DEBIAN=1 nor NIXPACKS_NODE_VERSION=14 worked for me. My project ID is 316aa21f-dc55-4e9f-be8f-13129d27d7c0
6 Replies
Percy
Percy2y ago
Project ID: 316aa21f-dc55-4e9f-be8f-13129d27d7c0
Percy
Percy2y ago
It might be due to extra space in the package.json file, or because it is a monorepo.
⚠️ experimental feature
cartermcalister
cartermcalisterOP2y ago
Bumping this issue, still not working for me
angelo
angelo2y ago
Hey Carter, I can look into this for ya later my time.
Percy
Percy2y ago
Flagging this thread. A team member will be with you shortly.
angelo
angelo2y ago
I have a gut feeling it is still related to the OpenSSL stuff but its also likely that its just package versioning.
Want results from more Discord servers?
Add your server