执行:npm install 时,报错:If you are behind a proxy, please make sure that the ‘proxy’ config is set prope


一、问题:

在这里插入图片描述

二、解决:

检查 NPM 代理设置,删除掉 NPM 代理设置

#检查 NPM 代理设置
npm config get proxy

#删除掉 NPM 代理设置
npm config rm proxy  
npm config rm https-proxy

#再次检查 NPM 代理设置
npm config get proxy

#再次执行安装命令
...

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_53791978/article/details/133268688