zma / usefulscripts

Useful shell scripts for Linux and macOS
Other
156 stars 155 forks source link

Installation of Hyperledger fabric 2 doesn't work! #11

Open jeydi243 opened 3 years ago

jeydi243 commented 3 years ago

Hello everyone! i just face this error after running the script: Versions of software: Docker version 19.03.6, build 369ce74a3c docker-compose version 1.17.1, build unknown 5.6.0 go version go1.13.9 linux/amd64 package github.com/hyperledger/fabric-samples: no Go files in /home/jeydi/go/src/github.com/hyperledger/fabric-samples script/install-hyperledger-fabric-2-ubuntu-18.04.sh: line 51: cd: /src/github.com/hyperledger/fabric-samples: No such file or directory Please can help?

zma commented 3 years ago

That seems a problem from the $GOPATH env. Can you try https://github.com/zma/usefulscripts/blob/ebe2f6e88ef1f991f45702faf34718d49757d8c2/script/install-hyperledger-fabric-2-ubuntu-18.04.sh ?

jeydi243 commented 3 years ago

okay thank you...let me try!

Araj28196 commented 3 years ago

I am also facing same issue from above.... i checked ~/.bashrc to check go path, the path is there but when i checked go version it says go is not installed maybe nano ~/.profile should have been used instead of bashrc for specifying path?