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