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,350 points
1,305 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
• 69,210 points

Related Questions In Blockchain

0 votes
1 answer
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,237 views
+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
960 views
+1 vote
1 answer
0 votes
1 answer
+1 vote
1 answer
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