欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

npm install -g @vue/cli 报错

程序员文章站 2022-05-30 15:14:20
...

npm install -g @vue/cli报错d [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142

1.配置淘宝镜像:

npm config set registry https://registry.npm.taobao.org

2.配置完成后检验是否成功:

npm config get registry

3.重新运行命令:

npm install -g @vue/cli