vue-element-admin
vue-element-admin copied to clipboard
npm install
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: remote error: npm ERR! The unauthenticated git protocol on port 9418 is no longer supported. npm ERR! Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information. npm ERR! npm ERR! exited with error code: 128
试了很多办法,都是这个报错,不知道为什么
node: 12.22.9 OS: mac 10.15.7 vue-element-admin: 4.4.0
git config --global url."https://".insteadOf git:// npm i
这样可以解决我的问题……
npm WARN deprecated [email protected]: use String.prototype.padStart() npm ERR! Error while executing: npm ERR! D:\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: 20.205.243.166]: errno=Unknown error npm ERR! npm ERR! npm ERR! exited with error code: 128