如下报错:

PS C:\Users\asus\Desktop\visual_sense_3d>npm i cnpm -g
npm ERR! code ETIMEDOUT
npm ERR! errno ETIMEDOUT
npm ERR! network request to https://registry.npmjs.org/graceful-readlink failed, reason: connect ETIMEDOUT 104.16.25.35:443
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'npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Deshun\AppData\Roaming\npm-cache\_logs\2020-06-01T03_09_36_539Z-debug.log

解决方案:

1.查看npm镜像设置
npm config get registry
2.将npm设置为淘宝镜像
npm config set registry https://registry.npm.taobao.org
3.再次查看npm镜像设置
npm config get registry

npm install报错ERR! code ETIMEDOUT的解决办法相关推荐

  1. npm install 报错 ERR! gyp ERR! cwd D:\workspace\node_modules\node-sass错误解决/npm ERR! gyp verb `which

    一.问题描述: npm install 报错 ERR! gyp ERR! cwd D:\workspace\node_modules\node-sass 二.可能原因 nodejs与sass版本不匹配 ...

  2. 【node】 npm install 报错:code 128

    前言 今天上班后端跟我说,她没事的时候在网上找了两个开源项目没跑起来让我帮忙看看(项目一)-(此处省略1000字)-.拿到项目后第一时间找package.json和readme.md.emmm-ser ...

  3. npm install 报错 ERR! gyp ERR! cwd D:\workspace\node_modules\node-sass错误解决/npm

    npm install 有时候会出现这种情况 导致的原因可能是node版本与node-sass版本不匹配 我现在的node版本是16.15.1,对应的node-sass版本就是6.0多("n ...

  4. npm install 报错:ERR! code EINTEGRITY 解决方案

    npm install 报错:ERR! code EINTEGRITY 解决方案 参考文章: (1)npm install 报错:ERR! code EINTEGRITY 解决方案 (2)https: ...

  5. npm install报错 npm ERR,code ERESOLVE npm ERR,ERESOLVE unable to resolve dependency tree

    文章目录 前言 问题分析 解决方法 转载于 前言 在下载npm时报错npm ERR! code ERESOLVE npm ERR! ERESOLEVE unable to resolve depend ...

  6. npm install 报错(npm ERR! errno: -4048, npm ERR! code: ‘EPERM‘, npm ERR! syscall: ‘unlink‘,)解决方法

    npm install 报错 npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'unlink', 用下面的方式测试一下 ...

  7. npm install 报错(npm ERR! errno -4048,Error: EPERM: operation not permitted,)解决方法

    npm install 报错(npm ERR! errno -4048,Error: EPERM: operation not permitted,)解决方法 参考文章: (1)npm install ...

  8. clone别人远程仓库的代码,运行npm install报错npm ERR! Maximum call stack size exceeded

    运行npm install报错,我是实习生,实习第四天就各种出错,多人合作的时候连clone下来的仓库,运行npm install时都出错:npm ERR! Maximum call stack si ...

  9. npm install报错的一天

    发现项目找不到axios,然后运行: npm i axios -S npm install 报错 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! ...

  10. npm install报错C:\Program Files\Git\cmd\git.EXE ls-remote -h -t ssh://git@github.com/sohee-lee7/Squire

    vue-element-admin安装时npm install报错 npm ERR! Error while executing: npm ERR! C:\Program Files\Git\cmd\ ...

最新文章

  1. hbase shell命令扩展(转自http://www.netfoucs.com/cuirong1986/article/details/7986900)
  2. python处理excel文件-python处理Excel文件
  3. 网信金融 与 金银猫合作
  4. 32通过tcp发送数组_【干货】TCP协议详解
  5. linux中打开gif图片命令,在Linux终端中安装使用Gifski创建GIF动图
  6. 打游戏的计算机,玩游戏还得台式机!高性能游戏台式电脑推荐
  7. Golang gRPC实践 连载五 拦截器 Interceptor
  8. 信息学奥赛一本通1090
  9. java的链表(LinkedList类)
  10. 从零开始为实验室搭建一个多人使用远程登录服务器
  11. 规格型号、购方名称、地址备注等格式有误、特殊字符-无法开票?
  12. 【Linux_02】
  13. iOS 16老机型落幕:iPhone 7、iPhone 6S和iPhoneSE 2016无法更新
  14. android 平板 吃鸡,吃鸡不卡的安卓平板
  15. 转:https://mp.weixin.qq.com/s/O_D_FVRIIII1wqq4jGZqHA
  16. WebRTC音视频之噪音消除功能
  17. kaze算法的图像配准研究(2)-匹配
  18. css如何给盒子底部加阴影,CSS3 --添加阴影(盒子阴影、文本阴影的使用)
  19. 使用mac电脑访问局域网云盘的方法
  20. 如何将PDF的背景色设置为保护眼睛的苹果绿色

热门文章

  1. 一张表格分成两页打印_word一页内容怎么分成两页打印
  2. OMNeT 例程 Tictoc12 学习笔记
  3. 统计字符 c语言程序,统计字符个数C语言程序.doc
  4. 诡异的 com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column “dat
  5. python识别文字坐标_python识别图片上的文字并返回文字在图片中的坐标
  6. 腾讯QQ2019最新版 v9.1.0(24712) 免安装绿色版 显IP去广告完整版
  7. 刑事实务办案中疑难问题
  8. 转载-解决word导出pdf图片变模糊的问题
  9. Python逻辑判断顺序
  10. 自己喜欢的句子总结一