/bin/bash: ./scripts/script.sh: No such file or directory when running ./byfn.sh -m up Hyperledger fabric

匿名 (未验证) 提交于 2019-12-03 00:56:02

问题:

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.

回答1:

My issue got resolved by following Gari Singh suggestion.

Thanks for the help... :)



回答2:

Make sure all prerequisites are installed:

  1. Go is installed and $GOPATH variable is set.
  2. Npm is installed. Run npm -v to check.
  3. Python is installed. Run python --version to check.

If everything looks fine, try to debug which command within ./scripts/script.sh is failing and fix/install a missing dependency.



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