Node+Vue

2022/4/27 1:13:33

本文主要是介绍Node+Vue,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

npm install vue-cli -g 报错

1  使用管理员登录

安装 npm install -g vue-cli 报错 ‘proxy‘ config is set properly. See: ‘npm help config

1  清空代理

npm config set proxy false
npm cache clean --force

2 或者  

npm config set proxy null
npm config set https-proxy null

配置新的镜像

npm config set registry http://registry.cnpmjs.org/

或者

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


这篇关于Node+Vue的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程