Vue-element-admin: 新拉项目 依赖包被弃用了怎么办 跑不起来

Created on 7 Dec 2018  ·  11Comments  ·  Source: PanJiaChen/vue-element-admin

$ npm install
npm WARN deprecated [email protected]: Switch to the bfj package for fixes and new features!
npm WARN deprecated [email protected]: Package no longer supported. Contact [email protected] for more info.
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\mingw64\bin\git.EXE ls-remote -h -t git://github.com/adobe-webplatform/eve.git
npm ERR!
npm ERR! fatal: unable to look up github.com (port 9418) (Ӧ�ó���û�е��� WSAStartup������ WSAStartup ʧ�ܡ� )
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\123\AppData\Roaming\npm-cache_logs\2018-12-07T10_13_35_309Z-debug.log

Most helpful comment

您可以使用以下命令告诉git使用https而不是git://:
git config --global url."https://".insteadOf git://

All 11 comments

本来想删了那个依赖 但是package.json里面找不到那个包

您可以使用以下命令告诉git使用https而不是git://:
git config --global url."https://".insteadOf git://

嗯???
我更新了webpack-bundle-analyzer这个包还是报错呀?

thanks 已经解决了 我看到作者在其他的地方有引用这个问题 更新webpack-bundle-analyzer的版本就ok了

thanks 已经通过更新webpack-bundle-analyzer的版本解决了

小白问一下,具体怎么解决的,更新不了,指定版本也不行

@joker-ssh 问下具体怎么解决的这个问题,“更新webpack-bundle-analyzer的版本就ok了”

更新webpack-bundle-analyzer 网上搜一下 问题里也有类似的问题 潘神也有解答

@小丑-SSH问下具体怎么解决的这个问题,“更新的WebPack束分析仪的版本就确定了”

npm install --save-dev webpack-bundle-analyzer

我更新了webpack-bundle-analyzer这个包还是报错

解决了,
git ls-remote -h -t git://github.com/adobe-webplatform/eve.git
这一行报错,因为git://github.com/adobe-webplatform/eve.git不是有效的地址,
要么是https://github.com/adobe-webplatform/eve.git
要么是[email protected]:adobe-webplatform/eve.git
地址错了,
git config --global url."https://".insteadOf git://

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gateslu picture gateslu  ·  4Comments

343512292 picture 343512292  ·  3Comments

nacimgoura picture nacimgoura  ·  3Comments

ghost picture ghost  ·  4Comments

eladcandroid picture eladcandroid  ·  4Comments