当前位置:网站首页>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
边栏推荐
- [statistical learning methods] learning notes - improvement methods
- GCC compilation error
- 数据库安全的重要性
- Object. Simple implementation of assign()
- "Series after reading" my God! It's so simple to understand throttling and anti shake~
- EPP+DIS学习之路(2)——Blink!闪烁!
- leetcode刷题:二叉树20(二叉搜索树中的搜索)
- IPv6 experiment
- Customize the web service configuration file
- 通讯协议设计与实现
猜你喜欢

Pule frog small 5D movie equipment | 5D movie dynamic movie experience hall | VR scenic area cinema equipment

Zhimei creative website exercise

The IDM server response shows that you do not have permission to download the solution tutorial

SQL Lab (32~35) contains the principle understanding and precautions of wide byte injection (continuously updated later)

Static comprehensive experiment
![An error occurred when vscade tried to create a file in the target directory: access denied [resolved]](/img/14/9899f5a765872fb3238be4305a2dc7.png)
An error occurred when vscade tried to create a file in the target directory: access denied [resolved]

爱可可AI前沿推介(7.7)

【PyTorch实战】用PyTorch实现基于神经网络的图像风格迁移

Xiaohongshu microservice framework and governance and other cloud native business architecture evolution cases

【统计学习方法】学习笔记——提升方法
随机推荐
2022广东省安全员A证第三批(主要负责人)考试练习题及模拟考试
NGUI-UILabel
Aike AI frontier promotion (7.7)
leetcode刷题:二叉树19(合并二叉树)
Learning and using vscode
解决 Server returns invalid timezone. Go to ‘Advanced’ tab and set ‘serverTimezone’ property manually
【PyTorch实战】用RNN写诗
EPP+DIS学习之路(2)——Blink!闪烁!
[statistical learning method] learning notes - support vector machine (I)
SQL lab 26~31 summary (subsequent continuous update) (including parameter pollution explanation)
The road to success in R & D efficiency of 1000 person Internet companies
[statistical learning method] learning notes - logistic regression and maximum entropy model
SQL lab 21~25 summary (subsequent continuous update) (including secondary injection explanation)
leetcode刷题:二叉树27(删除二叉搜索树中的节点)
Will the filing free server affect the ranking and weight of the website?
2022A特种设备相关管理(锅炉压力容器压力管道)模拟考试题库模拟考试平台操作
On valuation model (II): PE index II - PE band
Utiliser la pile pour convertir le binaire en décimal
Cenos openssh upgrade to version 8.4
解密GD32 MCU产品家族,开发板该怎么选?