hyperledger composer installation issue

孤街浪徒 提交于 2019-12-11 21:29:34

问题


I'm using Ubuntu 16.04 and after installing the pre-requisites, I followed the steps here:

https://hyperledger.github.io/composer/next/installing/development-tools.html

Everything installed without erros but when I ran this command:

./createPeerAdminCard.sh

I got this error:

"Cannot use v0.18.2 version of composer with fabric 1.1, v0.19 or higher is required"

I was surprised v0.19 wasn't installed as part of that set up if it's needed.

How can I now upgrade to composer v0.19?


回答1:


Run this line:

npm install -g composer-cli@0.19.0



回答2:


Be sure that you the composer component of the php is not installed. you can check it by seeing its version. composer --version. if the result is something like this 1.6.0, remove that. You can find the path by "which composer" command.

Then check and update the version. You can find the latest stable version here. Now it is 0.19.9

npm install -g composer-cli@0.19.9



来源:https://stackoverflow.com/questions/49706309/hyperledger-composer-installation-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!