当前位置:网站首页>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
边栏推荐
- MySQL small exercise (only suitable for beginners, non beginners are not allowed to enter)
- xctf刷题小记
- PLC的点表(寄存器地址和点表定义)破解探测方案--方便工业互联网数据采集
- 微信:获取单个标签所有人
- Failed to prepare device for development
- The K neighbors of each sample are obtained by packet switching
- Error: cannot find or load main class
- Learn SQL injection in sqli liabs (Level 11 ~ level 20)
- Mini - exercice MySQL (seulement pour les débutants, pas pour les non - débutants)
- Find the sum of simple types of matrices
猜你喜欢

Experimental report on analysis of overflow vulnerability of assembly language and reverse engineering stack

MATLAB入门资料

Automatic differentiation and higher order derivative in deep learning framework

L2-024 tribe (25 points) (and check the collection)

Consensus Token:web3. 0 super entrance of ecological flow

PCTP考试经验分享

Multi view depth estimation by fusing single view depth probability with multi view geometry

请提前布局 Star Trek突破链游全新玩法,市场热度持续高涨

Open services in the bottom bar of idea

2022-04-22 openebs cloud native storage
随机推荐
Go语言自学系列 | golang结构体的初始化
GUI编程简介 swing
Latex mathematical formula
Open services in the bottom bar of idea
Initial experience of talent plan learning camp: communication + adhering to the only way to learn open source collaborative courses
搜索树判断 (25 分)
根据后序和中序遍历输出先序遍历 (25 分)
L2-023 graph coloring problem (25 points) (graph traversal)
2021李宏毅机器学习之Adaptive Learning Rate
DJ music management software pioneer DJ rekordbox
Get the absolute path of the class according to the bytecode
How does kubernetes use harbor to pull private images
Illegal character in scheme name at index 0:
Pctp test experience sharing
Consensus Token:web3. 0 super entrance of ecological flow
On time atom joins hands with oneos live broadcast, and the oneos system tutorial is fully launched
Idea is configured to connect to the remote database mysql, or Navicat fails to connect to the remote database (solved)
Find the sum of simple types of matrices
2022-04-22 OpenEBS云原生存储
LeetCode_DFS_中等_1254. 统计封闭岛屿的数目