我是hyperledger作曲家的初学者。我使用hyperledger-composer v16.06。 在部署业务网络的步骤中:
composer runtime install --card PeerAdmin@hlfv1 --businessNetworkName tutorial-network
⠋ Installing runtime for business network tutorial-network. This may take a minu
⠙ Installing runtime for business network tutorial-network. This may take a minu
⠹ Installing runtime for business network tutorial-network. This may take a minu
✖ Installing runtime for business network tutorial-network. This may take a minute...
Error: Error trying install composer runtime. Error: The Composer runtime failed to install on 1 or more peers
Command failed
然后我尝试使用:
curl -sSL https://hyperledger.github.io/composer/install-hlfv1.sh | bash的
但显示语法错误:
curl -sSL https://hyperledger.github.io/composer/install-hlfv1.sh | bash
bash: line 1: syntax error near unexpected token `newline'
bash: line 1: `<!doctype html>'
谢谢!
答案 0 :(得分:2)
v16.0.6是Composer的旧版本,支持有限。如果您不熟悉Composer,我建议您安装以下步骤,安装Composer v0.19和简单的Fabric v1.1: