HyperLedger Fabri c Samples - загрузка платформы, определяющей c fabri c бинарных файлов на windows 10 - PullRequest
0 голосов
/ 14 апреля 2020

Я устанавливаю образцы Fabri c из https://hyperledger-fabric.readthedocs.io/en/release-2.0/install.html в windows 10.

Когда я пытаюсь запустить команду, curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh | bash -s, я получаю ошибка при загрузке двоичных файлов. Пожалуйста, найдите дамп из терминала ниже. Я запускаю это из папки fabri c -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 <----

Но когда я запускаю это в Git -Cmd (как предложено в HyperLedger-загружая платформу c Двоичные файлы в 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 <----

Я создал папки / bin и / config в папке fabri c -samples. Пожалуйста, дайте мне знать, что я делаю не так здесь.

Заранее спасибо.

1 Ответ

0 голосов
/ 17 апреля 2020

Попробуйте явно указать последнюю версию Fabri c:

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

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...