本文介绍了超级账本:得到"/bin/bash:./scripts/script.sh:没有这样的文件或目录"当运行"./byfn -m up"时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是超级账本的新手,只是按照 http://hyperledger-fabric上的教程进行研究.readthedocs.io .我试图在结构样本中使用"first-network"构建第一个网络. ./byfn -m generate
正常.但是输入./byfn -m up
后,我遇到了
I'm a newer for the hyperledger and just studying it by following the tutorials on http://hyperledger-fabric.readthedocs.io. I am trying to build the first network using "first-network" in the fabric-samples. The ./byfn -m generate
is OK. But after typing ./byfn -m up
, I meet
错误,进程挂起.
出了什么问题?
PS:操作系统为Windows10.
PS: The OS is Windows 10.
推荐答案
请按照以下步骤操作:
- 在您的docker终端中检查路径
$HOME
.键入命令echo $HOME
. - 确保您的fabric-samples文件夹与变量
$HOME
相同. - 按照步骤生成您的第一个网络.
- In your docker terminal check the path
$HOME
. Type the commandecho $HOME
. - Make sure that your fabric-samples folder is the same path as of the variable
$HOME
. - Follow the steps for generating your first network.
或尝试以下解决方案.
请按照以下步骤操作:
- 转到docker的设置.
- 单击重置凭据.
- 现在检查共享驱动器是否包括必需的驱动器.
- 如果没有,则包括它们以应用您的更改,并在尝试启动网络的地方重新启动docker和bash.
这篇关于超级账本:得到"/bin/bash:./scripts/script.sh:没有这样的文件或目录"当运行"./byfn -m up"时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!