hyperledger composer network is not starting

0 votes
composer network start --networkName tutorial-network --networkVersion 0.0.1 --networkAdmin admin --networkAdminEnrollSecret adminpw --card PeerAdmin@hlfv1 --file networkadmin.card

Starting business network tutorial-network at version 0.0.1

Processing these Network Admins:

userName: admin

✖ Starting business network definition. This may take a minute...

Error: Error trying to start business network. Error: No valid responses from any peers.

Response from attempted peer comms was an error: Error: failed to execute transaction bc47f963012173dc9718d0884670d1f91be59d91e65fc288a89ce4faec88a65e: error starting container: error starting container: Failed to generate platform-specific docker build: Error returned from build: 127 "/bin/sh: npm: not found
May 10, 2020 in Blockchain by anonymous
• 140 points
1,437 views

1 answer to this question.

0 votes
Hey, @Sudip,

First thing you need to start fabric. Run ./startFabric.sh in fabric-dev-servers because it seems like your fabric isn't running.

If you get any errors like some containers already exist then do a ./teardownFabric.sh first then run the start command again. This will give you a basic running network with one org, one peer, and one orderer.

Once your network is ready to run then you have to create your admin card by running ./createPeerAdminCard.sh. Once you reach this point then you are ready to install and start your chain code.

Another reason may be proxy issues, so you need to clear that in order to deploy successfully.
answered May 13, 2020 by Gitika
• 65,770 points

Related Questions In Blockchain

0 votes
1 answer

Command "network" is not defined. in hyperledger composer

For composer network to work, you must ...READ MORE

answered Nov 21, 2018 in Blockchain by Omkar
• 69,220 points
1,456 views
0 votes
1 answer

My first Hyperledger fabric network is not working

Delete as admin the channel-artifacts folder, down ...READ MORE

answered Aug 10, 2018 in Blockchain by Johnathon
• 9,090 points
1,961 views
0 votes
1 answer

Hyperledger composer: Not able to issue identities from a Business network.

To specify your own affiliation you need ...READ MORE

answered Nov 6, 2018 in Blockchain by Omkar
• 69,220 points
1,449 views
0 votes
1 answer

Issue deploying the business network using hyperledger composer

I had same issue. I created card ...READ MORE

answered Jun 5, 2018 in Blockchain by Johnathon
• 9,090 points
983 views
+3 votes
1 answer

What is the difference between online and offline hyperledger composer?

Hey @Renu353! Well, it's good that you ...READ MORE

answered Sep 21, 2018 in Blockchain by Omkar
• 69,220 points
908 views
0 votes
1 answer
0 votes
1 answer

Hyperledger Composer: not able to install Hyperledger composer-cli

Try setting the PATH like this, export PATH="/usr/local/share/npm/bin:$PATH" Now run the ...READ MORE

answered Oct 31, 2018 in Blockchain by Omkar
• 69,220 points
1,557 views
0 votes
1 answer

getting error while starting Hyperleger fabric network on Aws server

Hey, @Nithin, It seems like you have stopped containers ...READ MORE

answered Mar 30, 2020 in Blockchain by Gitika
• 65,770 points
3,135 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP