未检测到composer

编程入门 行业动态 更新时间:2024-10-26 03:31:43
本文介绍了未检测到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

本文发布于:2023-11-15 06:38:48,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1592031.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:检测到   composer

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!