Vue-element-admin: npm install

Created on 10 Apr 2019  ·  5Comments  ·  Source: PanJiaChen/vue-element-admin

λ npm install --registry=https://registry.npm.taobao.org
npm WARN deprecated [email protected]: Package no longer supported. Contact [email protected] for more info.
npm WARN deprecated [email protected]: Please upgrade to kleur@3 or migrate to 'ansi-colors' if you prefer the old syntax. Visit <https://github.com/lukeed/kleur/releases/tag/v3.0.0\> for migration path(s).
npm WARN deprecated [email protected]: CircularJSON is in maintenance only, flatted is its successor.
npm ERR! Error while executing:
npm ERR! C:\Program Files\Git\bin\git.EXE ls-remote -h -t git://github.com/adobe-webplatform/eve.git
npm ERR!
npm ERR! error: cannot spawn socks5://127.0.0.1:1080: Invalid argument
npm ERR! fatal: cannot start proxy socks5://127.0.0.1:1080
npm ERR!
npm ERR! exited with error code: 128

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\liuxm\AppData\Roaming\npm-cache\_logs\2019-04-10T09_02_33_866Z-debug.log

Most helpful comment

试试:
git config --global url."https://".insteadOf git://

再执行 npm install

All 5 comments

试试:
git config --global url."https://".insteadOf git://

再执行 npm install

没用,试了

git config --global url."https://".insteadOf git://

thx, it worked

试试:
git config --global url."https://".insteadOf git://

再执行 npm install

只能用npm, yarn不行

试试:
git config --global url."https://".insteadOf git://

再执行 npm install

这个方法对我有用
it works to me

Was this page helpful?
0 / 5 - 0 ratings