【发布时间】:2018-04-26 18:30:28
【问题描述】:
我正在尝试使用 composer runtime install 命令在我的本地超级账本结构上安装结构 Composer 运行时,但“运行时”未被识别为命令。
$ composer runtime install -n manuf-network -c PeerAdmin@hlfv1
Commands:
archive <subcommand> Composer archive command
generator <subcommand> Composer generator command to convert a Business Network Definition to code
identity <subcommand> Composer identity command
network <subcommand> Composer network command
participant <subcommand> Composer participant command
transaction <subcommand> Composer transaction command
shell Interactive shell [aliases: shell, i]
Options:
--help Show help [boolean]
-v, --version Show version number [boolean]
Examples:
composer archive create --inputDir .
composer identity issue
composer network deploy
composer participant add
composer transaction submit
For more information on Hyperledger Composer: https://hyperledger.github.io/composer/
Unknown arguments: n, c, runtime, install
我已将 composer-cli 作为全局安装。
这是版本:
$ composer --version
composer-cli v0.8.1
composer-admin v0.8.1
composer-client v0.8.1
composer-common v0.8.1
composer-runtime-hlf v0.8.1
composer-runtime-hlfv1 v0.8.1
我已经卸载并重新安装了 composer-cli (npm uninstall/install -g composer-cli),但仍然无法让它识别运行时安装命令。
我看到 composer 的最新版本是 15,但我的系统只能识别 8.1(见上文)。
作为https://hyperledger.github.io/composer/installing/development-tools.html 安装开发环境步骤的一部分,我安装了 nvm 并且想知道这是否与问题有关。
【问题讨论】:
-
祝你好运,我面临同样的问题。
标签: hyperledger-fabric hyperledger-composer