输入以下命令
npm config set proxy null npm config set https-proxy null
之后重新安装即可
文章参考 https://blog.csdn.net/yypsober/article/details/51906616