vue3 创建过程中 运行npm create vue@latest 和 npm install卡住不动的解决方法之一
阿里云国内75折 回扣 微信号:monov8 |
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6 |
问题npm create vue@latest、和npm install 不管是电脑cmd上还是vscode终端上都是卡很久或不动
解决
1、查看npm代理
npm config get registry
2、更换npm镜像
npm config set registry=https://registry.npmmirror.com
这里换成淘宝源好像也不太行不知道什么原因
npm config set registry https://registry.npm.taobao.org
3、查看
npm config get registry
4、创建vue3 速度就可以了
2023.12.10
阿里云国内75折 回扣 微信号:monov8 |
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6 |