npm安裝vue-cli,一直停留在deprecated request@2.88.2: request has been deprecated, see https://github.com/req


——————————————

版權聲明:本文為CSDN博主「王王王米粒」的原創文章
原文鏈接:https://blog.csdn.net/qq_37600506/article/details/104507848

 

安裝vue-cli出現的錯誤

deprecated request@2.88.2: request has been deprecated, see https://github.com/req


原因
資源問題,沒有配置淘寶鏡像
解決
①配置淘寶鏡像 :
npm config set registry https://registry.npm.taobao.org
②重新安裝vue-cli,即可成功
npm install -g @vue/cli


免責聲明!

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



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