IBM / BlockchainNetwork-CompositeJourney

Part 1 in a series of patterns showing the building blocks of a Blockchain application
https://developer.ibm.com/code/patterns/build-a-blockchain-network/
Apache License 2.0
232 stars 175 forks source link

Error on "composer network deploy" #3

Closed Bataahai closed 6 years ago

Bataahai commented 6 years ago

Hi,

I'm at the step 5 (Deploy the Business Network Archive on Hyperledger Composer running locally). When I execute the following command it gives an error "Missing argument value: networkAdminEnrollSecret"

composer network deploy -a my-network.bna -p hlfv1 -i PeerAdmin -s randomString -A admin -S

Then I added a string for the missing value as below

composer network deploy -a my-network.bna -p hlfv1 -i PeerAdmin -s randomString -A admin -S mypassword

But it fails with error "Unknown arguments: p, i, s".

Thank you all

ishangulhane commented 6 years ago

@Bataahai I have updated the instructions for the latest version of Hyperledger composer. Please try again.

Bataahai commented 6 years ago

Updated instruction is ok now. Thank you!