npx prisma init tries to downlaod prisma engines from Node-API for debian-openssl-1.1.x but inside company network #24140
Replies: 3 comments 3 replies
-
Hi @alexmondaini 👋 One possible solution is to manually download the necessary Prisma binaries on a machine that has access to the internet (like your Windows laptop), and then transfer them to your server. You can then set environment variables to point Prisma to the location of these binaries on your server. See the using custom engine libraries section in the documentation. |
Beta Was this translation helpful? Give feedback.
-
Hi @ludralph, I've managed to make it work yesterday after some painful attempts 👍. I've transferred the query engine library and the schema engine binary files and it seems to work fine so far. Is that enough for all scenarios those files? I see that there is also a binary for the query engine alongside the library. What is the difference between them? The migration and introspection engine I did not download but it is working fine |
Beta Was this translation helpful? Give feedback.
-
Hi @ludralph , Is there any other way to get the prisma engine besides this approach ? my company now has blocked the cloudfare endpoint for downloading prisma engines, so I will not be able to update that in the future, which is just sa headache in the longer term |
Beta Was this translation helpful? Give feedback.
-
Question
I am inside a server on my company network and I dont have access to this endpoint where prisma binaries are hosted. I can only download them from my windows laptop , not the server i am trying to run prisma. What are my options in this case ?
How can I make prisma to work ?
the error is : ENOTFOUND binaries.prisma.sh
How to reproduce (optional)
npx install prisma --save-dev
npx prisma init
prisma version 5.13
Expected behavior (optional)
No response
Information about Prisma Schema, Client Queries and Environment (optional)
// Add your schema.prisma
// Add any relevant Prisma Client queries here
OS:
Database:
Node.js version: 20.10.0
Run
prisma -v
to see your Prisma version and paste itBeta Was this translation helpful? Give feedback.
All reactions