Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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.

like image 471
Govindaraj M Avatar asked Nov 27 '17 10:11

Govindaraj M


1 Answers

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... :)

like image 151
Govindaraj M Avatar answered Sep 22 '22 12:09

Govindaraj M