/ bin / bash:./scripts/script.sh:运行./byfn.sh时没有此类文件或目录-m建立Hyperledger架构 [英] /bin/bash: ./scripts/script.sh: No such file or directory when running ./byfn.sh -m up Hyperledger fabric

查看:399
本文介绍了/ bin / bash:./scripts/script.sh:运行./byfn.sh时没有此类文件或目录-m建立Hyperledger架构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是区块链的新手,我正在学习 http:/ /hyperledger-fabric.readthedocs.io/en/latest/build_network.html 并执行此操作。我完成了前提条件并下载了示例和二进制文件。我能够运行 ./ byfn.sh -m 生成成功。但是当我运行 ./ byfn.sh -m up 时,出现了错误:


/ bin / bash:./scripts/script.sh:没有这样的文件或目录


下面是完整的日志

 进行中... 
起始peer0.org2.example.com ...
起始peer0.org1 .example.com ...
启动orderer.example.com ...
启动peer1.org2.example.com ...
启动peer0.org2.example.com
启动peer1.org1.example.com ...
启动peer0.org1.example.com
启动orderer.example.com
启动peer1.org2.example.com
开始orderer.example.com ...完成
cli是最新的
/ bin / bash:./scripts/script.sh:没有这样的文件或目录

我正在Windows 7和Docker快速入门终端上运行它。等待帮助...在此先感谢。

解决方案

我的问题通过遵循Gari Singh的建议得到解决。



fabric-samples目录的完整路径是什么?这里的常见问题是,您不会将fabric-samples存储库克隆到与Docker Toolbox共享的文件夹中。通常,您需要确保在C:\Windows上的用户– Gari Singh



感谢帮助...:)下的某个位置克隆结构样本。 p>

I am new to blockchain and i was going through the tutorial http://hyperledger-fabric.readthedocs.io/en/latest/build_network.html and doing it. I completed the pre-requisites and download of the samples and binaries. I was able to run ./byfn.sh -m generate successfully. But when I was running ./byfn.sh -m up I got the error:

/bin/bash: ./scripts/script.sh: No such file or directory

Below is the complete log

proceeding ...
Starting peer0.org2.example.com ...
Starting peer0.org1.example.com ...
Starting orderer.example.com ...
Starting peer1.org2.example.com ...
Starting peer0.org2.example.com
Starting peer1.org1.example.com ...
Starting peer0.org1.example.com
Starting orderer.example.com
Starting peer1.org2.example.com
Starting orderer.example.com ... done
cli is up-to-date
/bin/bash: ./scripts/script.sh: No such file or directory

I am running it on windows 7 and on Docker Quick start terminal. Waiting for the help... Thanks in advance.

解决方案

My issue got resolved by following Gari Singh suggestion.

What is the full path the the fabric-samples directory? The usual issue here is that you do not clone the fabric-samples repository into a folder shared with Docker Toolbox. Typically you need to make sure that you clone fabric-samples somewhere under C:\Users on Windows – Gari Singh

Thanks for the help... :)

这篇关于/ bin / bash:./scripts/script.sh:运行./byfn.sh时没有此类文件或目录-m建立Hyperledger架构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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