Hyperledger结构:无脚本 [英] Hyperledger fabric: No script

查看:54
本文介绍了Hyperledger结构:无脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在按照 http://hyperledger-fabric.readthedocs.io 上的教程进行设置我自己的超级账本.我正在结构样本中使用"first-network"构建第一个网络. ./byfn -m生成是可以的,但是在使用./byfn -m up之后,我收到以下错误:

I am following the tutorial on http://hyperledger-fabric.readthedocs.io to setup my own hyperledger. I am building the first network using "first-network" in the fabric-samples. The ./byfn -m generate is OK, but after using ./byfn -m up I receive the below error:

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

script.sh文件位于:

The script.sh file is available in:

\fabric-samples\first-network\scripts

运行'docker ps -a'后,我得到:

After running 'docker ps -a' I get:

我的操作系统是Windows10.有人知道这是什么原因以及如何解决此问题吗?

My OS is Windows 10. Does anyone know what is causing this and how to resolve this?

推荐答案

查看 http://hyperledger-fabric.readthedocs.io/en/latest/prereqs.html#windows-extras -特别是关于在克隆样本存储库之前Windows所需的Git设置的这一部分:

Check out http://hyperledger-fabric.readthedocs.io/en/latest/prereqs.html#windows-extras - specifically this part on Git settings required for Windows prior to cloning the samples repository:

git config --global core.autocrlf false
git config --global core.longpaths true

这篇关于Hyperledger结构:无脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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