当前位置:网站首页>npm ERR! network
npm ERR! network
2022-04-23 09:01:00 【一个博客】
npm ERR! network
错误代码如上:
解决办法:
- 删除npmrc文件。
使用镜像
镜像使用方法(三种办法任意一种都能解决问题,建议使用第三种,将配置写死,下次用的时候配置还在):
1.通过config命令
npm config set registry http://registry.cnpmjs.org
npm info underscore (如果上面配置正确这个命令会有字符串response)
2.命令行指定
npm --registry http://registry.cnpmjs.org info underscore
3.编辑 ~/.npmrc 加入下面内容
registry = http://registry.cnpmjs.org
版权声明
本文为[一个博客]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_45784582/article/details/105129341
边栏推荐
猜你喜欢
Automatic differentiation and higher order derivative in deep learning framework
GUI编程简介 swing
Learn SQL injection in sqli liabs (Level 11 ~ level 20)
PLC point table (register address and point table definition) cracking detection scheme -- convenient for industrial Internet data acquisition
[58] length of the last word [leetcode]
Download and install bashdb
调包求得每个样本的k个邻居
【58】最后一个单词的长度【LeetCode】
DJ music management software pioneer DJ rekordbox
经典题目刷一刷
随机推荐
Idea is configured to connect to the remote database mysql, or Navicat fails to connect to the remote database (solved)
Initial experience of talent plan learning camp: communication + adhering to the only way to learn open source collaborative courses
資源打包關系依賴樹
是否完全二叉搜索树 (30 分)
Flash project cross domain interception and DBM database learning [Baotou cultural and creative website development]
Share the office and improve the settled experience
Swagger document export custom V2 / API docs interception
Valgrind and kcache grind use run analysis
Complete binary search tree (30 points)
MySQL查询两张表属性值非重复的数据
爬虫使用xpath解析时返回为空,获取不到相应的元素的原因和解决办法
Find the sum of simple types of matrices
Go language self-study series | golang structure pointer
Cadence process angle simulation, Monte Carlo simulation, PSRR
K210 learning notes (II) serial communication between k210 and stm32
MATLAB 画五星红旗
About CIN, scanf and getline, getchar, CIN Mixed use of getline
uni-app和微信小程序中的getCurrentPages()
Consensus Token:web3. 0 super entrance of ecological flow
bashdb下载安装