当我遵循安装文档(https://hyperledger-fabric.readthedocs.io/en/release-1.3/install.html)并执行
curl -sSL url_removed | bash -s 1.3.0我知道这个错误:
ERROR: Unexpected argument: --
Usage: bash [OPTION]... [version [ca_version [thirdparty_version]]]
OPTIONS:
-h|--help Print this message
-d Bypass docker image download
-s Bypass fabric-samples repo clone
-b Bypass download of platform-specific binaries
EXAMPLES:
To download docker images for version 1.3.0
==> bash -sb 1.3.0任何人都能帮上忙。我没有头绪
卷曲--版本
卷曲7.62.0 (x86_64-apple-darwin18.0.0) libcurl/7.62.0 SecureTransport zlib/1.2.11
发布于 2018-11-28 05:15:49
今天也遇到了同样的问题。使用以下步骤对其进行了修正:

chmod 755 bootstrap.sh使文件可执行./bootstrap.sh一样运行这个文件上面的内容相当于运行curl -sSL <url> | bash。如果您想运行curl -sSL <url> | bash -s,那么编辑文件并设置SAMPLES=false
顺便说一下,运行在上面的命令来安装fabric是HL Fabric新手首先要做的事情。如果这一基本步骤不起作用,那么我就不得不怀疑其他HL面料的质量。
https://stackoverflow.com/questions/53506205
复制相似问题