Can someone tell me how to solve the Hyperledger playground installation issue

0 votes

I run this command

    cd ~/fabric-dev-servers
    export FABRIC_VERSION=hlfv11
    ./startFabric.sh
    ./createPeerAdminCard.sh

I got this issue

Successfully created business network card file to
    Output file: /tmp/PeerAdmin@hlfv1.card

Command succeeded

Error: Card already exists: PeerAdmin@hlfv1
Command failed

Error: Unable to read required file: metadata.json
Command failed

Hyperledger Composer PeerAdmin card has been imported, host of fabric specified as 'localhost'

May 5, 2020 in Blockchain by anonymous
• 180 points
755 views
Hi, @Ratul,

You can do one thing:

You can run the composer card list to verify that you have the PeerAdmin card.

Check do you have the access to create the folder ~/.composer.

You can check using this command to if the folder exists ls ~/.composer and if it does, then rm -rf ~/.composer to remove it and all its contents. Now create a new empty folder mkdir ~/.composer and rerun the script to create the Peer Admin card createPeerAdminCard.sh from the fabric-tools folder.

1 answer to this question.

0 votes
I used those commands but the couldn't work
 
 docker kill $(docker ps -q)
 docker rm $(docker ps -aq)
 docker rmi $(docker images dev-* -q)
answered May 5, 2020 by Ratul
• 180 points
Hey, @Ratul,

Could you please tell me what version of Composer are you running? It will be helpful for me to investigate further.
Composer v0.20.9

Thank You
I tried to create the folder but didn't work

ratul@ratul-Lenovo-ideapad-320-14ISK:~$ mkdir ~/.composer
mkdir: cannot create directory ‘/home/ratul/.composer’: File exists

Hi, @Ratul,

By default, file management tools, such as ls, dir, or even the graphical file manager, don't show hidden files or directories (those where the name begins with a dot, e.g. .ipython). This is why mkdir is telling you that it already exists, even though you cannot see it by using ls or the file manager.

To see hidden files, you can use ls -a (From the ls manpage : "-a, --all do not ignore entries starting with ."), or, in the graphical file manager (nautilus), press Ctrl + H to show hidden files and directories.

Related Questions In Blockchain

0 votes
1 answer

Can someone tell me how to solve the Hyperledger playground installation issue?

Hey, @Ratul, I would suggest using this command ...READ MORE

answered May 13, 2020 in Blockchain by Gitika
• 65,910 points
748 views
+1 vote
1 answer

Hyperledger - How can I use transaction certificates to enforce privacy?

The transaction certificates don't actually address privacy ...READ MORE

answered Apr 17, 2018 in Blockchain by Perry
• 17,100 points
671 views
+1 vote
1 answer

How can I connect to the specified nodes using IPFS?

You can actually connect to the specific ...READ MORE

answered Apr 25, 2018 in Blockchain by Christine
• 15,790 points
1,807 views
+2 votes
2 answers

How can I traverse the blocks of transactions in hyperledger fabric?

For hyperledger fabric you can use query ...READ MORE

answered May 8, 2018 in Blockchain by Rachel
5,075 views
0 votes
1 answer

Can someone pls explain the hyperledger consensus?

The multiple peers determine the validity of ...READ MORE

answered May 22, 2018 in Blockchain by Shashank
• 10,400 points
401 views
0 votes
1 answer
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,503 views
+2 votes
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