altnames专题

解决npm 安装失败问题 Host: registry.cnpmjs.org. is not in the cert's altnames: DNS:r.cnpmjs.org...

报错如下: 解决办法: 直接在node窗口输入:npm config set registry http://registry.npmjs.org/