安裝vue-element-admin時的報錯


[root@bogon vue]# npm install --registry=https://registry.npm.taobao.org
npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t https://github.com/nhn/raphael.git
npm ERR! 
npm ERR! fatal: unable to access 'https://github.com/nhn/raphael.git/': Encountered end of file
npm ERR! 
npm ERR! exited with error code: 128

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2021-11-17T03_07_36_603Z-debug.log

 

解決方式:

git config --global http.sslVerify "false"

npm install raphael            (其實就是需要單獨安裝)

 

最后再次執行:

npm install --registry=https://registry.npm.taobao.org

 

僅作為一種參考,不一定適用所有情況。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM