rddill-IBM / ZeroToBlockchain

Tutorial for Zero to Blockchain series
343 stars 925 forks source link

Update the Composer versions #49

Open anushaath opened 5 years ago

anushaath commented 5 years ago

The Fabric version is hlfv1 and the composer version is 0.16 while installing in Chapter 03.

Shouldn't it be updated to hlfv12 and 0.20.5 ?

spmcnamara commented 5 years ago

I believe I'm seeing the same problem. It manifests when trying to import the business cards.

`Cannot use v0.16.2 version of composer with fabric 1.2, v0.20 or higher is required

   -----> copying admin card to ~/.hfc-key-store
   =====================================================

CA_PEM_SOURCE is: /Users/smcnamara/development/hyperledger-tutorial/ZeroToBlockchain/Chapter03/controller/restapi/features/composer/creds PEER_SOURCE is: /Users/smcnamara/.composer/client-data/PeerAdmin@hlfv1/ HFC_KEY_STORE is: /Users/smcnamara/.hfc-key-store cp: /Users/smcnamara/development/hyperledger-tutorial/ZeroToBlockchain/Chapter03/controller/restapi/features/composer/creds/ca.pem: No such file or directory cp: /Users/smcnamara/.composer/client-data/PeerAdmin@hlfv1/: No such file or directory cp: directory /Users/smcnamara/development/hyperledger-tutorial/ZeroToBlockchain/Chapter03/controller/restapi/features/composer/creds does not exist

   -----> Listing current cards
   =====================================================

Error: Card not found: PeerAdmin@hlfv1 Command failed `