Can not run "npx prisma init" command: binary download error `getaddrinfo ENOTFOUND`
See original GitHub issueBug description
I can not run “npx prisma init” under windows system, plea help me.
How to reproduce
Expected behavior
No response
Prisma information
Environment & setup
- OS:
- Database:
- Node.js version:
- Prisma version:
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Cannot run cli behind proxy · Issue #2181 · prisma ... - GitHub
I managed to workaround the cli downloads by manually downloading the binaries and extracting them to a binaries folder within my project and ......
Read more >npm ERR! network getaddrinfo ENOTFOUND - Stack Overflow
Instead of setting the proxy using npm config set http_proxy=http://address:8080 go to ~/.npmrc and remove the proxy config. This resolved my issue.
Read more >Getting ECONNREFUSED error - Questions - Prisma 1 Forum
I can open the Playground at this URL just fine. That seems to have to do with your implementation of the GraphQL Server,...
Read more >4 packages are looking for funding run `npm fund` for details 2 ...
npm decided to add a new command: npm fund that will provide more visibility to npm users on what dependencies are actively looking...
Read more >Jspdf autotable draw cell example excel file free - Weebly
It must result in a command name, a script block, or a CommandInfo object. ... react native meter initialize express app npx express-generator...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@janpio
In China, there are companies that specialize in mirror proxy acceleration services for common package managers, for example (Basically all Chinese developers use this solution, because even if it is not disabled, most foreign server connections are too slow.)
npm mirrors: https://npm.taobao.org/mirrors/ ubuntu mirrors: https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/
This is the only solution(except building your own server) in China besides using good quality servers (CN2 lines, not banned etc.), which are used by many institutions or schools.
For the disabled in China issue: If a domain name or server is disabled, then you need to change the domain name and server IP to resolve the issue.
In addition, the general server line is very bad and the download speed is extremely slow, so it is basically the same as being disabled, which is limited by the bandwidth of the Chinese export network.
I think maybe china firewall cause this problem,but I can not solve it with VPN. Is any way to solve this problem? this problem will block many China programers