Failed to create PeerAdminCard

I am following this simple tutorial on setting up my dev environment. Everything is going fine until I run. /createPeerAdminCard.sh, which gives an error as shown below

Only for developing a script for managing the Hyperledger network Launching 'createPeerAdminCard.sh' FABRIC_VERSION set to hlfv11 FABRIC_START_TIMEOUT does not work if you count 15 (seconds)

Using composer-cli with v0.17.4

Successfully created network card file in the output file: / tmp / PeerAdmin @ hlfv1.card

Command completed successfully

Error: there is no connection type, possibly because the connection profile does not have the "x-type" property. Failed to execute command

I am using composer version v0.17.4 and fabric in 1.1.0 - alpha on ubuntu 16.04

+4
source share
1 answer

You get this error because your map store has a PeerAdmin card that was created using Composer 0.16 or earlier. The cards are not compatible, therefore, when the Kli tries to remove the card, it cannot. The quickest solution is to completely remove the file system map storage. Currently, the file system map storage will always be located in ${HOME}/.composer, so to delete it you will do rm -fr ${HOME}/.composer

+10
source

Source: https://habr.com/ru/post/1693379/


All Articles