截止到现在的该项国内镜像源已经废弃。原来npm.taobao.org 和 registry.npm.taobao.org 域名停止服务, npm.taobao.org 网站的证书今年初也过期了。So request to https://registry.npm.taobao.org failed, reason: certificate has expired
要不更换 npm 源:可以临时或永久性地将 npm 源切换回官方 NPM 仓库或者检查并更新其他可靠的国内镜像源,这些镜像源可能存在更新且有效的证书。
npm config set registry https://registry.npmmirror.com
或者 切换至官方源:
npm config set registry https://registry.npmjs.org/