尝试提取Hyperledger工件时出错 [英] Error when trying to extract hyperledger artifacts

查看:68
本文介绍了尝试提取Hyperledger工件时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Windows 10(64位),并且似乎已安装所有先决条件.

i am using Windows 10 (64-bit) and i seem to have all the prerequisites installed.

但是,在Git-Bash上运行命令curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/examples/e2e_cli/bootstrap.sh | bash时,会出现以下错误:

However, while running the command curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/examples/e2e_cli/bootstrap.sh | bash on Git-Bash, i will get the following error:

$ curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/examples/e2e_cli/bootstrap.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1205    0  1205    0     0    976      0 --:--:--  0:00:01 --:--:--   988

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
bash: line 12: cd: release/mingw32_nt-10.0-wow-i686: No such file or directory
sh: download-dockerimages.sh: No such file or directory

推荐答案

它在使用Git 2.13的Windows 10上确实可以工作.

It does work on my Windows 10, with Git 2.13.

再试一次,但首先使用简化的PATH.
在CMD中,键入:

Try again, but with a simplify PATH first.
In a CMD, type:

set PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\
set GH=C:\path\to\Git\2.13
set PATH=%GH%\bin;%GH%\usr\bin;%GH%\mingw64\bin;%PATH%

然后键入'bash',然后在bash会话中,再次尝试使用curl命令.

Then type 'bash', and in the bash session, try your curl command again.

这篇关于尝试提取Hyperledger工件时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆