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

0 votes

When I try to run this command:

composer archive create -t dir -n .

I get this error:

[RuntimeException] The "-t" option does not exist.

I have installed the pre-requisites. I dont understand what I missed. Please help
 

Nov 21, 2018 in Blockchain by slayer
• 29,050 points
162 views

1 answer to this question.

0 votes

This command runs on composer-cli. Have you installed it? If not, you can install it using:

npm install -g composer-cli

Now try and run the command. It should work.

If you have already installed composer, then uninstall and re-install:

npm uninstall -g composer-cli

or

npm uninstall -g composer

and then

npm install -g composer-cli

answered Nov 21, 2018 by Omkar
• 67,120 points

Related Questions In Blockchain

0 votes
1 answer
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
247 views
+1 vote
1 answer
0 votes
1 answer
+1 vote
1 answer