当前位置:网站首页>NPM instal reports agent or network problems
NPM instal reports agent or network problems
2022-07-07 12:35:00 【Xiaoding Chong duck!】
Use... In the project today npm install When installing dependencies , There is such a problem
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! network request to http://registry.cnpmjs.org/axios failed, reason: getaddrinfo ENOTFOUND registry.cnpmjs.org
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
The reason for the problem is probably because Proxy server or network problems
So I found a solution through Baidu , as follows :
npm config set proxy null // proxy: Proxy for external requests
npm config set https-proxy null // https-proxy: For proxy https Requested
npm config For more learning materials, see Big guy's article npm-config
边栏推荐
- Common knowledge of one-dimensional array and two-dimensional array
- SQL lab 11~20 summary (subsequent continuous update) contains the solution that Firefox can't catch local packages after 18 levels
- 编译 libssl 报错
- Tutorial on the principle and application of database system (008) -- exercises on database related concepts
- 普乐蛙小型5d电影设备|5d电影动感电影体验馆|VR景区影院设备
- leetcode刷题:二叉树23(二叉搜索树中的众数)
- 静态Vxlan 配置
- Sorting, dichotomy
- Is it safe to open an account in Ping An Securities mobile bank?
- Realize all, race, allsettled and any of the simple version of promise by yourself
猜你喜欢
【统计学习方法】学习笔记——逻辑斯谛回归和最大熵模型
【PyTorch实战】用PyTorch实现基于神经网络的图像风格迁移
IPv6 experiment
普乐蛙小型5d电影设备|5d电影动感电影体验馆|VR景区影院设备
Attack and defense world - PWN learning notes
leetcode刷题:二叉树22(二叉搜索树的最小绝对差)
Configure an encrypted web server
The hoisting of the upper cylinder of the steel containment of the world's first reactor "linglong-1" reactor building was successful
About IPSec
An error occurred when vscade tried to create a file in the target directory: access denied [resolved]
随机推荐
【统计学习方法】学习笔记——逻辑斯谛回归和最大熵模型
JS to convert array to tree data
【统计学习方法】学习笔记——提升方法
Sign up now | oar hacker marathon phase III midsummer debut, waiting for you to challenge
[statistical learning methods] learning notes - improvement methods
SQL head injection -- injection principle and essence
About web content security policy directive some test cases specified through meta elements
什么是ESP/MSR 分区,如何建立ESP/MSR 分区
2022危险化学品生产单位安全生产管理人员考题及在线模拟考试
leetcode刷题:二叉树24(二叉树的最近公共祖先)
Learning and using vscode
What if does not match your user account appears when submitting the code?
【统计学习方法】学习笔记——支持向量机(下)
消息队列消息丢失和消息重复发送的处理策略
The left-hand side of an assignment expression may not be an optional property access.ts(2779)
leetcode刷题:二叉树23(二叉搜索树中的众数)
ES底层原理之倒排索引
EPP+DIS学习之路(2)——Blink!闪烁!
SQL Lab (32~35) contains the principle understanding and precautions of wide byte injection (continuously updated later)
Connect to blog method, overload, recursion