When I deployed a single-organization network in accordance with hyperledger composer, I used “composer network ping -c admin@tutorial-network” to test the business network connection and get this error.
Please help me, thank you
To solve this error...
"Error: Composer runtime (0.19.12) is not compatible with client (0.20.0)"
This looks like you have recently installed a new version of composer-cli (v0.20.0), and you are connecting to a Business Network that was originally installed with a composer client (v0.19.12). You will need to force an upgrade of your Business Network to get the upgraded runtime used.
You need to do the following:
package.json
file.composer archive create
composer network install
to install the new version on the peer(s)composer network upgrade
to upgrade the running version of the Business Network.Note that you need to use your PeerAdmin card for the network install and network start commands.
There is an example of this procedure in theComposer Queries tutorial.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.