【_ 記 】fatal: unable to connect to github.com

命令:bower install jquery

错误信息:
fatal: unable to connect to github.com: npm ERR! github.com

npm ERR! Error while executing: npm ERR! D:\Program
Files\Git\cmd\git.EXE ls-remote -h -t
git://github.com/adobe-webplatform/eve.git npm ERR! npm ERR! fatal:
unable to connect to github.com: npm ERR! github.com[0:
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! D:\Program
Files\node\node_cache_logs\2019-09-04T08_12_33_599Z-debug.log

原因:
需要用https才能读到数据

解决方法:输入命令

git config --global url.“https://”.insteadOf git://

你可能感兴趣的:(VUE)