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

原文地址:https://www.cnblogs.com/rainbowupdate/p/13153394.html