赞
踩
故障
- npm ERR! Error while executing:
- npm ERR! /usr/bin/git ls-remote -h -t git://github.com/adobe-webplatform/eve.git
- npm ERR!
- npm ERR! fatal: 无法连接到 github.com:
- npm ERR! github.com[0: 20.205.243.166]: errno=连接超时
- 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! /home/yeqiang/.npm/_logs/2022-06-15T03_28_17_243Z-debug.log
解决:在当前项目目录下运行指令
- npm config set registry https://registry.npmmirror.com
- git config --global url."https://".insteadOf git://
效果
- yeqiang@yeqiang-PC:~/Downloads/src/vue-element-admin-4.4.0$ npm config set registry https://registry.npmmirror.com
- yeqiang@yeqiang-PC:~/Downloads/src/vue-element-admin-4.4.0$ git config --global url."https://".insteadOf git://
- yeqiang@yeqiang-PC:~/Downloads/src/vue-element-admin-4.4.0$ npm install
- 略。。。
-
- added 2043 packages from 2006 contributors in 75.161s
-
- 94 packages are looking for funding
- run `npm fund` for details
-
- yeqiang@yeqiang-PC:~/Downloads/src/vue-element-admin-4.4.0$
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。