一、情景:
使用nvm list available查询当前可以安装的node版本,出现报错如图
Could not retrieve https://npm.taobao.org/mirrors/node/index.json.
Get “https://npm.taobao.org/mirrors/node/index.json”: tls: failed to verify certificate: x509: certificate has expired or is not yet valid:
报错提示:certificate has expired or is not yet valid证书已经过期
二、解决方法
1、找到nvm配置文件
2、修改nvm配置文件
#node_mirror: https://npm.taobao.org/mirrors