几个月前下载过fabric-sample,最近想起来调试一下,按照官网“创建第一个应用”步骤做的时候遇到个错,如下:
> startFabric.sh javascript
...
ctions initialized
2019-09-17 07:12:28.371 UTC [cli/common] readBlock -> INFO 002 Received block: 0
# Join peer0.org1.example.com to the channel.
docker exec -e "CORE_PEER_LOCALMSPID=Org1MSP" -e "CORE_PEER_MSPCONFIGPATH=/etc/hyperledger/msp/users/Admin@org1.example.com/msp" peer0.org1.example.com peer channel join -b mychannel.block
2019-09-17 07:12:28.577 UTC [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized
2019-09-17 07:12:28.685 UTC [channelCmd] executeJoin -> INFO 002 Successfully submitted proposal to join channel
Creating cli ... done
2019-09-17 07:12:30.384 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 001 Using default escc
2019-09-17 07:12:30.384 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 002 Using default