网上查了文章说更换淘宝镜像地址啥的
改了地址后依然报错显示Fail to check for updates
并且装包时报错Failed to get response from https://registry.npmmirror.com/binary-mirror-config
既然又是淘宝镜像问题,直接干脆不用淘宝的地址
npm config set registry https://registry.npmjs.org/
最重要一点,需要在C:\Users\Administrator中找到.vuerc文件,将useTaobaoRegistry改为false
{"useTaobaoRegistry": false,"latestVersion": "5.0.8","lastChecked": 1670037281789
}
若开启淘宝镜像,需将此设置为true