作曲家网络部署的命令错误不正确
Incorrect command error for composer network deploy
我在 macOS 上关注这个 tutorial。
$ composer -v
v0.20.1
$ composer network deploy -a dist/iot-perishable-network.bna -A admin -S adminpw -c PeerAdmin@hlfv1 -f networkadmin.card
Incorrect command. Please see the list of commands above, or enter "composer network --help".
可用 composer 网络 上述列表中的命令:下载、安装、列表、日志级别、ping、重置、启动、升级
您正在使用 Composer v0.20.1
,您所指的教程正在使用 Composer v0.15.0
。
自 Hyperledger 0.19.0.
以来,deploy
命令已被删除
参见https://github.com/hyperledger/composer/releases/tag/v0.19.0:
The following commands are no longer valid:
composer runtime install
composer network deploy
composer network update
composer network undeploy
您现在必须改用以下命令:
composer network install
composer network start
composer network upgrade
请参阅 https://hyperledger.github.io/composer/latest/reference/commands 了解最后的有效命令。
我在 macOS 上关注这个 tutorial。
$ composer -v
v0.20.1
$ composer network deploy -a dist/iot-perishable-network.bna -A admin -S adminpw -c PeerAdmin@hlfv1 -f networkadmin.card
Incorrect command. Please see the list of commands above, or enter "composer network --help".
可用 composer 网络 上述列表中的命令:下载、安装、列表、日志级别、ping、重置、启动、升级
您正在使用 Composer v0.20.1
,您所指的教程正在使用 Composer v0.15.0
。
自 Hyperledger 0.19.0.
以来,deploy
命令已被删除
参见https://github.com/hyperledger/composer/releases/tag/v0.19.0:
The following commands are no longer valid:
composer runtime install composer network deploy composer network update composer network undeploy
您现在必须改用以下命令:
composer network install
composer network start
composer network upgrade
请参阅 https://hyperledger.github.io/composer/latest/reference/commands 了解最后的有效命令。