项目场景: 今天用npm下载依赖时,一直报错 error An unexpected error occurred: "https://registry.npm.taobao.org/axios: certificate has expired" 原因分析:淘宝镜像证书过期问题 解决方案: 解决方法就是切换淘宝最新镜像地址即可 npm config set registry https://registry.npmmirror.com