zoukankan      html  css  js  c++  java
  • fatal: unable to access 'https://chromium.googlesource.com/webm/libwebp/': Failed to connect to chromium.googlesource.com port 443: Operation timed out

    flutter ios 报错

    [!] Error installing libwebp
    [!] /usr/bin/git clone https://chromium.googlesource.com/webm/libwebp /var/folders/87/73_f42316tj173wq0y6njkhc0000gn/T/d20201205-22146-13q952b --template= --single-branch --depth 1 --branch v1.1.0
    
    Cloning into '/var/folders/87/73_f42316tj173wq0y6njkhc0000gn/T/d20201205-22146-13q952b'...
    fatal: unable to access 'https://chromium.googlesource.com/webm/libwebp/': Failed to connect to chromium.googlesource.com port 443: Operation timed out

    解决方法:

      1.Finder -> 前往文件夹 (⇧⌘G) -> ~/.cocoapods/repos/master/Specs/1/9/2/libwebp

      

      2.修改2处地方

      

      

    将source中的git 改为 https://github.com/webmproject/libwebp.git
    将homepage改为https://github.com/webmproject/,source->git 改为https://github.com/webmproject/libwebp.git

    最后再进入ios文件,pod install 

    参考:https://juejin.cn/post/6844904089189351438

  • 相关阅读:
    docker 的使用
    WEB应用支持RESTFUL风格方法
    tomcat7 安装 windows 服务
    获取POM.XML依赖的JAR包
    集成 dubbo 微服务
    linux 修改yum 为阿里云源
    poj3904
    2013 ACM/ICPC 长春网络赛E题
    2013 ACM/ICPC 长春网络赛F题
    2013 ACM/ICPC 长沙网络赛J题
  • 原文地址:https://www.cnblogs.com/lude1994/p/14091215.html
Copyright © 2011-2022 走看看