Executing:
composer network ping -n calma-network -p hlfv1 -i admin -s adminpw
I receive the following error:
Error: Error trying to ping. Error: Composer runtime (0.8.0) is not compatible with client (0.11.0)
Command failed
The versions look the same:
composer -v
composer-cli v0.11.0
composer-admin v0.11.0
composer-client v0.11.0
composer-common v0.11.0
composer-runtime-hlf v0.11.0
composer-runtime-hlfv1 v0.11.0
Rebooting Hyperledger Fabric (stopFabric.sh, teardownFabric.sh and startFabric.sh) solves the error.
I encountered the same problem. The fix for me was to first find the location of composer by typing which composer
in the terminal. Then I manually deleted the directory containing it rm -rf /PATH/OF/COMPOSER
. Then run npm install -g composer-cli@latest
. After type composer -v
to verify new version.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With