Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/installation/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Installation Hyperledger结构-示例-2.2.0平台特定结构二进制文件不可下载_Installation_Hyperledger Fabric_Sample - Fatal编程技术网

Installation Hyperledger结构-示例-2.2.0平台特定结构二进制文件不可下载

Installation Hyperledger结构-示例-2.2.0平台特定结构二进制文件不可下载,installation,hyperledger-fabric,sample,Installation,Hyperledger Fabric,Sample,我按照安装过程使用示例,但由于链接不存在,因此出现了一个错误 我运行了下面的命令: curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh | bash -s Clone hyperledger/fabric-samples repo ===> Cloning hyperledger/fabric-samples repo and checkout v2.2.0

我按照安装过程使用示例,但由于链接不存在,因此出现了一个错误

我运行了下面的命令:

curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh | bash -s

Clone hyperledger/fabric-samples repo

===> Cloning hyperledger/fabric-samples repo and checkout v2.2.0
Cloning into 'fabric-samples'...
remote: Enumerating objects: 19, done.
remote: Counting objects: 100% (19/19), done.
remote: Compressing objects: 100% (18/18), done.
remote: Total 6431 (delta 8), reused 2 (delta 1), pack-reused 6412R
Receiving objects: 100% (6431/6431), 3.69 MiB | 9.64 MiB/s, done.
Resolving deltas: 100% (3350/3350), done.
Updating files: 100% (501/501), done.
error: pathspec 'v2.2.0' did not match any file(s) known to git

Pull Hyperledger Fabric binaries

===> Downloading version 2.2.0 platform specific fabric binaries
===> Downloading:  https://github.com/hyperledger/fabric/releases/download/v2.2.0/hyperledger-fabric-msys_nt-10.0-17763-amd64-2.2.0.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100     9  100     9    0     0     24      0 --:--:-- --:--:-- --:--:--    24

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
==> There was an error downloading the binary file.

------> 2.2.0 platform specific fabric binary is not available to download <----
curl-sSLhttps://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh |bash-s
克隆hyperledger/fabric样本回购
=>克隆hyperledger/fabric样本回购和签出v2.2.0
克隆到“织物样本”。。。
远程:枚举对象:19,完成。
远程:计数对象:100%(19/19),完成。
远程:压缩对象:100%(18/18),完成。
远程:总计6431(增量8),重复使用2(增量1),包重复使用6412R
接收对象:100%(6431/6431),3.69 MiB | 9.64 MiB/s,完成。
解析三角洲:100%(3350/3350),完成。
更新文件:100%(501/501),完成。
错误:pathspec“v2.2.0”与git已知的任何文件都不匹配
拉式Hyperledger结构二进制文件
=>下载版本2.2.0特定于平台的结构二进制文件
=>下载:https://github.com/hyperledger/fabric/releases/download/v2.2.0/hyperledger-fabric-msys_nt-10.0-17763-amd64-2.2.0.tar.gz
%总接收百分比%x平均速度时间电流
数据加载上载总左速度
100     9  100     9    0     0     24      0 --:--:-- --:--:-- --:--:--    24
gzip:stdin:不是gzip格式
tar:返回的子项状态1
tar:错误不可恢复:正在退出
==>下载二进制文件时出错。

------>2.2.0平台特定的结构二进制文件不可下载您可以尝试以下命令:

curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/release-2.2/scripts/bootstrap.sh | bash -s

我也有同样的问题,唯一能解决的办法就是下载旧版本。请尝试此页面上的版本:

如果它无法拖动图像,请尝试使用sudo