npm下载不到git://开头的github项目报错 本文共有948个字,关键词: npm WARN deprecated bfj-node4@5.3.1: Switch to the bfj package for fixes and new features! npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info. npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor. npm ERR! Error while executing: npm ERR! D:\Software\git\cmd\git.EXE ls-remote -h -t git://github.com/adobe-webplatform/eve.git npm ERR! fatal: unable to connect to github.com: npm ERR! github.com[0: 13.229.188.59]: errno=No such file or directory npm ERR! github.com[1: 52.74.223.119]: errno=No such file or directory npm ERR! github.com[2: 13.250.177.223]: errno=No such file or directory npm ERR! npm ERR! npm ERR! exited with error code: 128 npm ERR! A complete log of this run can be found in: npm ERR! 一般是由于旧的插件git地址不对,导致获取不成功。 ### 解决方案 测试有效 cd 项目根目录 ``` git config --global url."https://".insteadOf git:// `` × yihong (๑>ڡ<)☆谢谢老板~ 2元 5元 10元 50元 100元 任意金额 2元 使用微信扫描二维码完成支付 版权声明:本文为作者原创,如需转载须联系作者本人同意,未经作者本人同意不得擅自转载。 码农心得,Nodejs 2022-08-31 评论 1230 次浏览