Getting error on "npx prisma init"

Hi there, i want to use prisma on a new backend project i have, but the initialization step stays blocked here for several minutes (staying at 0%)
> Downloading Prisma engines for Node-API for debian-openssl-3.0.x [ ] 0%
> Downloading Prisma engines for Node-API for debian-openssl-3.0.x [ ] 0%
And then finally gives me the following error:
Error: request to https://binaries.prisma.sh/all_commits/06fc58a368dc7be9fbbbe894adf8d445d208c284/debian-openssl-3.0.x/schema-engine.sha256 failed, reason: connect ETIMEDOUT 107.186.217.24:64810
Error: request to https://binaries.prisma.sh/all_commits/06fc58a368dc7be9fbbbe894adf8d445d208c284/debian-openssl-3.0.x/schema-engine.sha256 failed, reason: connect ETIMEDOUT 107.186.217.24:64810
node: v20.11.1 (also tried with node v18, same result) npm/npx: 10.2.4 I tried with and without proxy in the npm config, but the result stays there same.
2 Replies
RaphaelEtim
RaphaelEtim3mo ago
Hi @Aurélien | VeenoX 👋 Are you behind a firewall? If yes, using a vpn can help if your current network is blocking the connection to the servers. Alternatively, try connecting to a different network, such as a mobile hotspot.
Aurélien | VeenoX
Aurélien | VeenoXOP3mo ago
Hi @RaphaelEtim thanks a lot for your answer, i am not behind a firewall no but i think the problem is that i am currently located in Russia and that Prisma's servers are effectively blocking traffic from here. I tried with my phone's hotspot but it is the same. Having access to a working VPN currently in Russia is very difficult, i already paid 3 VPN plans and none of them work and i wasted money and 40 minutes. Isn't there another way to initialize prisma without having to go through this step? Good morning, i am now actively running a VPN on my laptop, and it still does not fix the error, everything remains the same. So is there a way to manually install these things?
Want results from more Discord servers?
Add your server