美文网首页
Error installing WechatOpenSDK c

Error installing WechatOpenSDK c

作者: 路漫漫其修远兮Wzt | 来源:发表于2021-02-24 10:59 被阅读0次

    参考:GIT推送错误error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)

    公司项目,执行安装pod install的时候,报错:

    [!] Error installing WechatOpenSDK
    [!] /usr/bin/curl -f -L -o /var/folders/dq/0lf6cwpj06z10kcm0s1k1px40000gn/T/d20210224-57747-bqecon/file.zip https://res.wx.qq.com/op_res/DHI055JVxYur-5c7ss5McQZj2Y9KZQlp24xwD7FYnF88x8LA8rWCzSfdStN5tiCD --create-dirs --netrc-optional --retry 2 -A 'CocoaPods/1.10.1 cocoapods-downloader/1.4.0'
    
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
     47 4346k   47 2048k    0     0  2373k      0  0:00:01 --:--:--  0:00:01 2370k
    curl: (92) HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)
    

    解决方法:
    增加git缓冲区大小

    git config --global http.postBuffer 524288000
    

    相关文章

      网友评论

          本文标题:Error installing WechatOpenSDK c

          本文链接:https://www.haomeiwen.com/subject/viajfltx.html