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,170 points
265 views

1 answer to this question.

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
• 67,660 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,080 points
159 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
• 67,660 points
269 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
305 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
• 67,660 points
286 views