0
点赞
收藏
分享

微信扫一扫

bower update 命令报错,连接不上GitHub

开源分享 2022-02-11 阅读 68
githubgit

报错  fatal: unable to access 'https://github.com/PolymerElements/paper-elements.git/': Failed to connect to github.com port 443 after 21019 ms: Timed out
处理方式:
    git config --global --unset http.proxy
    git config --global --unset https.proxy

报错 fatal: unable to access 'https://github.com/StartPolymer/font-empty.git/': OpenSSL SSL_read: Connection was reset, errno 10054
处理方式:
    git config --global http.sslVerify "false"

发现反复出现上述报错,但链接会不一样

网上找到的资料

结论: 怀疑是国内网络问题,导致的连接超时,所以后面有新项目 bower_components 文件还是找同事要一下吧

建议: 将 bower_components 文件上传到git 上,可以避免这个问题,比克的项目就将 bower_components,node_modules 文件上传到git上了,这样项目拉取下来就可以直接启动了。

 

举报

相关推荐

0 条评论