Command "network" is not defined. in hyperledger composer

0 votes

I am going through Hyperledger composer tutorial. When i run the command:

composer network deploy

I get this error:

[Symfony\Component\Console\Exception\CommandNotFoundException]  
  Command "network" is not defined.    

How to solve this?

Nov 21, 2018 in Blockchain by slayer
• 29,040 points
114 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

For composer network to work, you must have composer-cli installed which I think is not installed. Install composer-cli first using this command

npm install -g composer-cli

This should solve your problem

answered Nov 21, 2018 by Omkar
• 65,820 points

Related Questions In Blockchain

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,030 points
45 views
0 votes
1 answer

"[RuntimeException] The "-t" option does not exist" error in Hyperledger composer.

This command runs on composer-cli. Have you ...READ MORE

answered Nov 21, 2018 in Blockchain by Omkar
• 65,820 points
124 views
0 votes
1 answer
+1 vote
1 answer

I am unable to change port of composer-rest-server. Please help!

Use full format for running a business ...READ MORE

answered Mar 27, 2018 in Blockchain by Christine
• 15,790 points
206 views
+1 vote
1 answer
0 votes
1 answer
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
• 65,820 points
150 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.