Hyperledger first network sample error

2019-08-31 23:59发布

I am following this link first-network to run hyperledger samples name first-network.

I am using Ubuntu 18.04LTS

./byfn.sh -m generate got successfully executed.

When I am trying to execute ./byfn.sh -m up I am getting error

`2018-05-08 08:45:22.485 UTC [main] main -> ERRO 001 Cannot run peer because cannot init crypto, missing /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp folder !!!!!!!!!!!!!!! Channel creation failed !!!!!!!!!!!!!!!! ========= ERROR !!! FAILED to execute End-2-End Scenario ===========

Edits 1: Adding docker compose files

docker-compose-cli.yaml

docker-compose-couch.yaml

docker-compose-e2e.yaml

docker-compose-couch-org3.yaml

docker-compose-e2e-template.yaml

docker-compose-org3.yaml

1条回答
爱情/是我丢掉的垃圾
2楼-- · 2019-09-01 00:17

Your crypto materials are not getting generated properly as required . Check that you have all the Prerequisites installed on the platform(s) I hope you have downloaded all the platform specific binaries https://github.com/hyperledger/fabric/blob/master/scripts/bootstrap.sh

This will make sure you have the correct Cryptogen and Configtxgen tools for creating crypto material,ca clients and channel configurations .

查看更多
登录 后发表回答