usefulscripts icon indicating copy to clipboard operation
usefulscripts copied to clipboard

Installation of Hyperledger fabric 2 doesn't work!

Open jeydi243 opened this issue 4 years ago • 3 comments

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?

jeydi243 avatar Jul 24 '20 00:07 jeydi243

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 ?

zma avatar Jul 24 '20 16:07 zma

okay thank you...let me try!

jeydi243 avatar Jul 27 '20 09:07 jeydi243

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?

Araj28196 avatar Feb 19 '21 08:02 Araj28196