Hyperledger fabric: No script

匿名 (未验证) 提交于 2019-12-03 08:57:35

问题:

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 

The script.sh file is available in:

\fabric-samples\first-network\scripts 

After running 'docker ps -a' I get:

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

回答1:

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 


易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!