npm报错:request to https://registry.npm.taobao.org failed, reason certificate has expired
NPM使用遇到错误:

错误原因:淘宝镜像过期
解决方案:
1.查看当前npm设置: npm config list

2.清空缓存:npm cache clean --force
3.修改npm为淘宝镜像:npm config set registry https://registry.npmmirror.com
4.再次查看npm设置,已经修改为淘宝镜像

)
问题解决!!!

浙公网安备 33010602011771号