如何解决Hyperledger Fabric-样本-2.2.0平台特定的Fabric二进制文件不可下载
我遵循了使用示例的安装过程,但是由于链接https://github.com/hyperledger/fabric/releases/download/v2.2.0/hyperledger-fabric-msys_nt-10.0-17763-amd64-2.2.0.tar.gz不存在,因此出现错误。
我运行了以下命令:
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 -sSL https://raw.githubusercontent.com/hyperledger/fabric/release-2.2/scripts/bootstrap.sh | bash -s
,
我也遇到了同样的问题,而解决该问题的唯一方法是下载旧版本。尝试此页面上的版本:
https://hyperledger-fabric.readthedocs.io/en/release-1.4/install.html
如果无法拉出图像,请尝试使用sudo。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。