HyperLedger结构示例-在windows 10上下载特定于平台的结构二进制文件



我正在从安装Fabric Sampleshttps://hyperledger-fabric.readthedocs.io/en/release-2.0/install.html在窗口10上。

当我尝试运行命令curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh | bash -s时,我在下载二进制文件时遇到了一个错误。请从下面的终端找到转储文件。我是从进行克隆的fabric samples文件夹中运行此程序的。

Clone hyperledger/fabric-samples repo
===> Checking out v2.0.0 of hyperledger/fabric-samples
error: pathspec 'v2.0.0' did not match any file(s) known to git
Pull Hyperledger Fabric binaries
===> Downloading version 2.0.0 platform specific fabric binaries
===> Downloading:  https://github.com/hyperledger/fabric/releases/download/v2.0.0/hyperledger-fabric-msys_nt-10.0-18362-amd64-2.0.0.tar.gz
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     t0 a r . e x e0:   E r r o r0  o-p-e:n-i-n:g- -a r-c-:h-i-v:e-:-  F-a-i:l-e-d: -t-o   o p e n0 '\.tape0'
100     9  100     9    0     0      9      0  0:00:01  0:00:01 --:--:--     4
(23) Failed writing body
==> There was an error downloading the binary file.
------> 2.0.0 platform specific fabric binary is not available to download <----

但当我在GitCmd中运行此程序时(如HyperLedger在Windows 10上下载平台特定二进制文件中所建议的(,我会得到以下结果:

Clone hyperledger/fabric-samples repo
===> Checking out v2.0.0 of hyperledger/fabric-samples
error: pathspec 'v2.0.0' did not match any file(s) known to git
Pull Hyperledger Fabric binaries
===> Downloading version 2.0.0 platform specific fabric binaries
===> Downloading:  https://github.com/hyperledger/fabric/releases/download/v2.0.0/hyperledger-fabric-windows-amd64-2.0.0.tar.gz
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0tar.exe: Error opening archive: Failed to open '\.tape0'
100   656  100   656    0     0    328      0  0:00:02  0:00:02 --:--:--   244
0 64.3M    0 16943    0     0   2420      0  7:44:40  0:00:07  7:44:33  3929
curl: (23) Failed writing body (0 != 16384)
==> There was an error downloading the binary file.
------> 2.0.0 platform specific fabric binary is not available to download <----

我在fabric samples文件夹中创建了/bin和/config文件夹。请让我知道我在这里做错了什么。

提前谢谢。

尝试明确指定最新结构版本:

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

最新更新