npm报错git.EXE ls-remote -h -t https://github.com/nhn/raphael.git 遇渐渐 2023-03-23 91 阅读1分钟 前言 vue-element-admin安装的时候就报这个错,我的Node版本是11.0.0。 解决办法 1.http替换git: git config --global url."https://".insteadOf git:// 2.在cmd中,输入以下命令:ipconfig /flushdns 3.用淘宝镜像。