Tools, FAQ, Tutorials:
"composer network install" Errors
Why am I getting errors when running the "composer network install" command?
✍: FYIcenter.com
There are couple of reasons why you are getting
errors when running the "composer network install" command to
deploy business network BNA files.
Error Example 1 -
$ cd tutorial-network $ composer network install --card PeerAdmin@hlfv1 \ --archiveFile tutorial-network@0.0.1.bna ✖ Installing business network. This may take a minute... Error: Card not found: PeerAdmin@hlfv1 Command failed
The command failed because you need the Hyperledger Peer Admin Card to deploy a new network. If you are using a new Hyperledger Fabric environment, you can generate an Admin Card using the fabric script:
$ ../fabric-dev-servers/createPeerAdminCard.sh ... The following Business Network Cards are available: Connection Profile: hlfv1 ┌─────────────────┬───────────┬──────────────────┠│ Card Name │ UserId │ Business Network │ ├─────────────────┼───────────┼──────────────────┤ │ PeerAdmin@hlfv1 │ PeerAdmin │ │ └─────────────────┴───────────┴──────────────────┘
Error Example 2 -
$ cd tutorial-network $ composer network install --card PeerAdmin@hlfv1 \ --archiveFile tutorial-network@0.0.1.bna Error: Error trying install business network. Error: No valid responses from any peers. Response from attempted peer comms was an error: Error: 14 UNAVAILABLE: EOF
The command failed again. May be your local Hyperledger Fabric dev environment has been stopped. You need to start it again:
$ ../fabric-dev-servers/startFabric.sh
Â
⇒ "composer network start" Errors
⇠"composer network" - Deploy BNA File
2020-12-26, ∼1750🔥, 0💬
Popular Posts:
What is EPUB 3.0 Metadata "dc:publisher" and "dc:rights" elements? EPUB 3.0 Metadata "dc:publisher" ...
How to create a "Sign-up or Sign-in" user flow policy in my Azure AD B2C directory? If you want to b...
Where to find tutorials on OpenID? Here is a large collection of tutorials to answer many frequently...
How to login to the Developer Portal internally by you as the publisher? Normally, the Developer Por...
How to install "The Windows SDK version 8.1"? I need to build my Visual Studio C++ applications. If ...