1、vscode中出现问题
问题描述:
npm ERR! request to https://registry.cnpmjs.org/@jeecg%2fantd-online-mini failed, reason: Hostname/IP does not match certificate’s altnames: Host: registry.cnpmjs.org. is not in the cert’s altnames: DNS:r.cnpmjs.org
2、解决方式
npm config set registry http://registry.npmjs.org
执行上面命令就可以了