Hyperledger fabric 增生块

Hyperledger fabric 增生块,hyperledger-fabric,Hyperledger Fabric,遵循指南,不会告诉我如何解决这个问题。帮忙 $ ./byfn.sh -m generate Generating certs and genesis block for with channel 'mychannel' and CLI timeout of '10000' Continue (y/n)? y proceeding ... /c/Users/Jake/Documents/Hyperledger Project/fabric-samples/bin/cryptogen ######

遵循指南,不会告诉我如何解决这个问题。帮忙

$ ./byfn.sh -m generate
Generating certs and genesis block for with channel 'mychannel' and CLI timeout of '10000'
Continue (y/n)? y
proceeding ...
/c/Users/Jake/Documents/Hyperledger Project/fabric-samples/bin/cryptogen

##########################################################
##### Generate certificates using cryptogen tool #########
##########################################################
org1.example.com
org2.example.com

./byfn.sh: line 164: cd: too many arguments
sed: -e expression #1, char 85: unterminated `s' command
./byfn.sh: line 166: cd: crypto-config/peerOrganizations/org2.example.com/ca/: No such file or directory
./byfn.sh: line 168: cd: too many arguments
sed: -e expression #1, char 85: unterminated `s' command
/c/Users/Jake/Documents/Hyperledger Project/fabric-samples/bin/configtxgen
##########################################################
#########  Generating Orderer Genesis block ##############
##########################################################
2017-09-09 20:16:32.117 PDT [common/configtx/tool] main -> INFO 001 Loading configuration
2017-09-09 20:16:32.138 PDT [common/configtx/tool] doOutputBlock -> INFO 002 Generating genesis block
2017-09-09 20:16:32.139 PDT [common/configtx/tool] doOutputBlock -> INFO 003 Writing genesis block
2017-09-09 20:16:32.139 PDT [common/configtx/tool] main -> CRIT 004 Error on outputBlock: Error writing genesis block: open ./channel-artifacts/genesis.block: The system cannot find the path specified.
Failed to generate orderer genesis block...

不知道CRIT 004错误是什么意思,也不知道它指的是什么路径。

您可能遇到了:

-Hyperledge结构示例目录不能包含空格

由于您的脚本处于以下状态:

/c/Users/Jake/Documents/Hyperledger项目/fabric样本/bin/cryptogen


为什么不将
Hyperledger项目重命名为不带空格的项目,如Windows 10上的
Hyperledger项目

尝试在缺少的文件夹中生成genesis块:

$./byfn.sh down
$../bin/cryptogen generate --config=./crypto-config.yaml
Org1.example.com
Org2.example.com
$../bin/configtxgen --profile TwoOrgsOrdererGenesis –outputBlock./channel- 
artifacts/genesis.block
$./byfn.sh generate
$./byfn.sh up