前端项目yarn的时候,在Fetching packages一直卡着,拉取不了github依赖

错误:

fatal: unable to connect to github.com:
github.com[0: 20.205.243.166]: errno=Connection timed out

解决:

[root@VM ]# git config --global url."https://github.com".insteadOf git://github.com

转载于:解决fatal: unable to connect to github.com问题_青青木屋的博客-CSDN博客

Logo

技术共进,成长同行——讯飞AI开发者社区

更多推荐