Reputation: 1
Currently working through the Hyperledger Composer Basics tutorial Part 3 using the cli. I was able to successfully install the prerequisites and create a Business Card Network Card, but am stuck at the following step of network deployment.
When I attempt to start the network, I get a "Card Not Found" error.
I am in the correct directory and have looked at the v0.20 documentation (the tutorial is in v0.15) but have been unable to sort this out given that I am fairly new to UNIX and the cli.
My latest attempt at using the correct code:
composer network start -f dist/perishable-network.bna -n perishable-network -A admin -S adminpw -c PeerAdmin@h1fv1 -f networkadmin.card -V v0.20.2
Tried so far:
Much appreciated if you have any advice!
Upvotes: 0
Views: 271
Reputation: 100
Re-execute the command, but correct the PeerAdmin card name.
The default name is "PeerAdmin@hlfv1" and NOT "PeerAdmin@h1fv1"
Upvotes: 2
Reputation: 1126
I think you forgot one command, just follow these instructions:
fabric-tools
OR fabric-dev-servers
directory./createPeerAdminCard.sh
This will create PeerAdmin card, so now you can access the fabric network by using that card.
Now Run command to start the network.
Upvotes: 0