request to xxx failed, reason: certificate has expired

如果出现request to xxx failed, reason: certificate has expired可能是因为淘宝镜像的版本是老的版本,没有访问权限,可以使用以下的命令更新为最新版本

npm config set registry https://registry.npmmirror.com
posted @ 2024-01-30 10:06  MMFOnly  阅读(2151)  评论(0)    收藏  举报