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%)
And then finally gives me the following error:
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
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.
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?