Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hyperledger fabric: No script

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: enter image description here

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

like image 722
The Code Buccaneer Avatar asked Feb 15 '26 05:02

The Code Buccaneer


1 Answers

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
like image 104
Gari Singh Avatar answered Feb 17 '26 23:02

Gari Singh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!