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,300 points
509 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
• 69,030 points

Related Questions In Blockchain

0 votes
1 answer

hyperledger composer network is not starting

Hey, @Sudip, First thing you need to start ...READ MORE

answered May 12 in Blockchain by Gitika
• 36,850 points
177 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
490 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,810 points
442 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
• 69,030 points
495 views