Hyperledger Composer v0.16.0 network start error

前端 未结 10 801
南旧
南旧 2020-12-18 03:26

I\'m trying Hyperledger Composer v0.16.0. According to this procedure, I want to Deploy BNA to Fabric network on cloud. but following error occurs. Kindly let me know how I

10条回答
  •  情歌与酒
    2020-12-18 04:02

    Well i was getting the similar error :-

    Upgrading business network definition. This may take a minute...
    Error: Error trying to upgrade business network. Error: No valid responses from any peers.
    Response from attempted peer comms was an error: Error: 2 UNKNOWN: chaincode error (status: 500, message: could not find chaincode with name 'airlinev9')
    Command failed
    

    My composer version: v0.19.4

    What I was trying to do:-

    I was trying the update my BNA to a newer version. But got the error which i shown you above.

    What I did to solve the issue :-

    1. I first deleted the previous card using the command :-

    composer card delete -c admin@airlinev9

    1. And then start the BNA with (already created, installed):-

    composer network start -c PeerAdmin@hlfv1 -n airlinev9 -V 0.0.3 -A admin -S adminpw

    And it worked for me.

提交回复
热议问题