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

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

2024-06-18 00:06:37 前端知识 前端哥 965 706 我要收藏

文章目录

          • 一、问题:
          • 二、解决:


一、问题:

在这里插入图片描述

二、解决:

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

#检查 NPM 代理设置
npm config get proxy
#删除掉 NPM 代理设置
npm config rm proxy
npm config rm https-proxy
#再次检查 NPM 代理设置
npm config get proxy
#再次执行安装命令
...
复制

在这里插入图片描述

转载请注明出处或者链接地址:https://www.qianduange.cn//article/12558.html
标签
评论
还可以输入200
共0条数据,当前/页
发布的文章

JQuery中的load()、$

2024-05-10 08:05:15

大家推荐的文章
会员中心 联系我 留言建议 回顶部
复制成功!