未检测到composer-cli版本 [英] No version of composer-cli has been detected

查看:79
本文介绍了未检测到composer-cli版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

全部

按照此页面上的指示操作后:安装开发环境安装Hyperledger Composer,每次使用

After following the instructions in this page: Installing the Development Environment to install Hyperledger Composer, I encountered this error every time I use

sudo ./createPeerAdminCard.sh

我确信通过执行以下命令已经安装了正确版本的composer-cli:

I am sure that I have installed the correct version of composer-cli by executing these commands:

npm install -g composer-cli@next

npm install -g composer-cli@0.19.0

有人可以建议怎么做吗?

Can someone advice what to do?

推荐答案

仅供参考,Composer v0.19.0的正确安装文档为

FYI the correct Install Doc for v0.19.0 of Composer is here

似乎您对某些可能正在使用该问题的命令使用了sudo.您不需要使用root或sudo. 知识Wiki 关于安装.

It looks like you are using sudo for some of the commands which may well be causing the problems. You should not need to use root or sudo. There is additional information in the the knowledge wiki about installing.

这篇关于未检测到composer-cli版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆