我是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 |庆典
但是显着的语法错误:
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>'
谢谢!
1 回答
v16.0.6是Composer的旧版本,支持有限 . 如果您不熟悉Composer,我建议您安装以下步骤,安装Composer v0.19和简单的Fabric v1.1:
卸载Composer(composer-cli)和composer-playground,composer-rest-server generator-hyperledger-composer(如果已安装) .
安装Composer开发pre-requisites
安装Composer Development tools
完成Developer Tutorial