request to https://registry.npm.taobao.org failed, reason certificate has expired

1.查看当前配置

npm config list

2.清空缓存

npm cache clean --force

3.重新配置镜像

npm config set registry https://registry.npmmirror.com/ 

posted on 2024-04-16 09:46  陈德彪  阅读(169)  评论(0)    收藏  举报

导航