问题
https://ibm-blockchain.github.io/develop/installing/development-tools
As i was following this and reached the step to Start and Stop Hyperledger Fabric, i was told to run ./createPeerAdminCard.sh
as i run this, i get an error as follows:
Development only script for Hyperledger Fabric control
Running 'createPeerAdminCard.sh'
FABRIC_VERSION is unset, assuming hlfv11
FABRIC_START_TIMEOUT is unset, assuming 15 (seconds)
Cannot use Composer version @package_branch_alias_version@ (1.0.0-beta2) 2016-03-27 16:00:34 version of composer with this level of fabric
Please provide support Thanks!
link shows my current versions of composer https://i.stack.imgur.com/TDM2M.png
回答1:
You will need to uninstall the 'other composer' and then install composer-cli with -g as per the Composer Dev Environment documents.
There have been a few releases of Hyperledger Composer in the last couple of weeks with Breaking Changes and different Hyperledger Fabric versions required. Please check the release notes for the latest version information: Release Notes
来源:https://stackoverflow.com/questions/49632590/createpeeradmincard-sh-not-running