【Bug】Nvm安装Node18出现tls: failed to verify certificate: x509: certificate has expired or ...

安装

nvm install 18.16.1

出现的报错,解决
nvm目录下找到 setting.txt里,将以前配置的

node_mirror: https://npm.taobao.org/mirrors/node/
npm_mirror: https://npm.taobao.org/mirrors/npm/

删除即可

你可能感兴趣的:(Bug,bug)