getaddrinfo ENOENT raw.githubusercontent.com

这篇具有很好参考价值的文章主要介绍了getaddrinfo ENOENT raw.githubusercontent.com。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

Error: Command failed: C:\windows\system32\cmd.exe /s /c "./configure --disable-shared

  1. 错误关键词:cwebp-binautoreconf -ivfpngquantlibpng-dev
  1. 完整的错误信息有3条:
  • Error: Command failed: C:\windows\system32\cmd.exe /s /c "./configure --disable-shared --prefix="D:\Project\vue-admin-beautiful-template\node_modules\cwebp-bin\vendor" --bindir="D:\Project\vue-admin-beautiful-template\node_modules\cwebp-bin\vendor""
  • Error: Command failed: C:\windows\system32\cmd.exe /s /c "autoreconf -ivf"
    'autoreconf'
  • Error: Command failed: C:\windows\system32\cmd.exe /s /c "./configure --with-system-zlib --prefix="D:\Project\vue-admin-beautiful-template\node_modules\optipng-bin\vendor" --bindir="D:\Project\vue-admin-beautiful-template\node_modules\optipng-bin\vendor""
  • Error: pngquant failed to build, make sure that libpng-dev is installed

发生场景:react 老项目在执行npm install时报错

完整的错误

cwebp-bin@5.1.0 postinstall D:\Project\vue-admin-beautiful-template\node_modules\cwebp-bin
> node lib/install.js

  ‼ getaddrinfo ENOENT raw.githubusercontent.com
  ‼ cwebp pre-build test failed
  i compiling from source
  × Error: Command failed: C:\windows\system32\cmd.exe /s /c "./configure --disable-shared --prefix="D:\Project\vue-admin-beautiful-template\node_modules\cwebp-bin\vendor" --bindir="D:\Project\vue-admin-beautiful-template\node_modules\cwebp-bin\vendor""
'.' ����� ����ⲿ���Ҳ���ǿ����еij���
���������ļ���


    at D:\Project\vue-admin-beautiful-template\node_modules\bin-build\node_modules\execa\index.js:231:11
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async Promise.all (index 0)

> gifsicle@5.1.0 postinstall D:\Project\vue-admin-beautiful-template\node_modules\gifsicle
> node lib/install.js

  ‼ getaddrinfo ENOENT raw.githubusercontent.com
  ‼ gifsicle pre-build test failed
  i compiling from source
  × Error: Command failed: C:\windows\system32\cmd.exe /s /c "autoreconf -ivf"
'autoreconf' ����� ����ⲿ���Ҳ���ǿ����еij���
���������ļ���

解决办法

找到问题所在,解决起来就容易得多了,直接找到可用的ip地址写进host里面,这里刚好有一个,如果下面的ip地址不行,找到可用ip地址就好

 199.232.28.133 raw.githubusercontent.com

或者

185.199.108.133 raw.githubusercontent.com文章来源地址https://www.toymoban.com/news/detail-609576.html

到了这里,关于getaddrinfo ENOENT raw.githubusercontent.com的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • 安装Homebrew出错(Failed to connect to raw.githubusercontent.com port 443)

    最简单的方向直接用国内镜像,可参考这篇整理:Homebrew国内如何自动安装(国内地址)(Mac Linux) - 知乎 如果你想直接安装“原版”,你可能会遇到如下类似的错误:  curl: (28) Failed to connect to raw.githubusercontent.com port 443 after 75010 ms: Operation timed out 解决方法: 第一步: htt

    2024年02月09日
    浏览(45)
  • ERROR: cannot download default sources list from: https://raw.githubusercontent.com

    ERROR: cannot download default sources list from: https://raw.githubusercontent.com 报错原因是GitHub的raw.githubusercontent.com无法连接 需要解决GitHub的raw.githubusercontent.com无法连接问题 通过IPAddress.com首页,输入raw.githubusercontent.com查询到真实IP地址 修改hosts Ubuntu, sudo vi /etc/hosts 添加以下内容保存即可

    2024年02月13日
    浏览(38)
  • curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused的正常解决方法

    这个报错。。就是国内网络问题导致的raw.githubusercontent.com无法正常访问,可能科学上网也没什么作用,看网上的解决方法都是什么改host文件,改dns之类的。。属实蚌了 这个命令大多就是从raw.githubusercontent.com的路径下执行一个可执行文件,用来拷贝github上的文件到本地目录

    2024年02月12日
    浏览(30)
  • ubuntu22.04安装ROS报错curl: (7) Failed to connect to raw.githubusercontent.com port 443: 拒绝连接

    ubuntu22.04安装ros时在执行下面命令时报错: 报错: curl: (7) Failed to connect to raw.githubusercontent.com port 443: 拒绝连接 同时执行后面命令 sudo apt update 的时候,同时报错: 解决办法: 1、在网站https://www.ipaddress.com中搜索raw.githubusercontent.com的IP地址,把找到的IP地址复制到host文件;

    2024年02月04日
    浏览(42)
  • curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to raw.githubusercontent.com:443

    Mac安装Homebrew官方地址时,报错 解决办法: 可以使用国内镜像处理报错。 执行完毕后,重新打开一下终端即可

    2024年02月03日
    浏览(36)
  • 解决:The connection to the server raw.githubusercontent.com was refused - did you specify the right ho

    我在部署k8s集群安装fannel 时候 出现报错: The connection to the server raw.githubusercontent.com was refused - did you specify the right host or port? 原因:外网不可访问 解决办法: 在https://www.ipaddress.com/查询raw.githubusercontent.com的真实IP。 加入 再次运行 即可成功安装fannel 希望对各位有所帮助!

    2024年02月11日
    浏览(37)
  • github下载一半失败弹窗,需要登陆此站点objects.githubusercontent.com

    使用Pyqt5玩转ChatGpt 内网文件共享服务 快速搭建私有pip镜像源 python设计模式-创建型模式 docker搭建私有git服务器,项目备份和迁移 redis持久化方案 当使用迅雷下载FontForge时(该exe被托管在GitHub上),一直不成功,提示如图所示: 1、使用检查查看元素链接 2、复制下载链接 3、

    2024年02月14日
    浏览(24)
  • nodejs报错:npm ERR! errno -4058npm ERR! enoent spawn “C:\Program Files\Git\git-bash.exe“ ENOENT

    日常bug记录: nodejs报错:npm ERR! errno -4058npm ERR! enoent spawn \\\"C:Program FilesGitgit-bash.exe\\\" ENOENT 环境变量,没错误,无法解决! 重新安装git,无法解决! 管理员启动,无法解决! 改git-bash.exe快捷方式,也 无法解决。 =====正确有效方法========= 确保 bash 可执行文件确实存在于 npm

    2024年04月16日
    浏览(41)
  • github下载项目下到一半出现需要登陆此站点objects.githubusercontent.com

    搭建自己的私有git服务器(gitlab)部署,汉化,项目备份,迁移 当使用迅雷下载FontForge时(该exe被托管在GitHub上),一直不成功,提示如图所示: 1、使用检查查看元素链接 2、复制下载链接 3、将下载链接复制到迅雷重新下载,这样就不会再弹出登陆窗口 当GitHub下载时,连

    2024年02月11日
    浏览(25)
  • getaddrinfo ENOTFOUND

    dns 解析不到 xxxx域名 (如本例中的 localhost) 对应IP地址,而所以需要把 xxxx域名 指向 本地IP127.0.0.1 host文件位置: 修改host文件 c://Windows/System32/drivers/etc/hosts 文件中 # 符号 是注释作用,该行不会执行 host文件样式:

    2024年02月06日
    浏览(44)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包