使用 hyperledger composer v16.06 部署业务网络
Deploying the business network using hyperledger composer v16.06
我是 hyperledger composer 的初学者。我使用 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>'
谢谢!
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
我是 hyperledger composer 的初学者。我使用 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>'
谢谢!
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