一、问题
window打开Vscode的终端,输入npm install命令出现异常
“registry.cnpmjs.org. is not in the altnames: DNS:r.cnpmjs.org”
二、解决办法
重新配置npm的registry
//1.输入配置命令
npm config set registry http://registry.npmjs.org
//2.输入更新命令
npm install --save redux
参考文档
https://blog.csdn.net/jim_LoveQ/article/details/106621240