Open lotty02cho opened 4 years ago
This error typically occurs if mage
was installed before GOPATH
was setup. Can you check what is your GOPATH
and if mage
is installed correctly? FWIW, here is my mage
version:
mage --version
Mage Build Tool v1.8.0
Build Date: 2019-02-17T07:46:34Z
Commit: aedfce6
built with: go1.11.5
@lotty02cho my suggestion is the following. Please let me know if this works for you:
1) Setup your environment following the instructions here: https://github.com/hyperledger-labs/blockchain-analyzer/blob/master/docs/Prerequisites.md
2) Delete everything under src
. Your src
directory, if you followed instructions above should in `$HOME/go/$GOVERSION"
3) Create github.com
dir under src
4) Clone the blockchain-analyzer
repository under src/github.com
5) In src/github.com/blockchain-analyzer/agent/fabric-beat
, run make go-get
This error typically occurs if
mage
was installed beforeGOPATH
was setup. Can you check what is yourGOPATH
and ifmage
is installed correctly? FWIW, here is mymage
version:mage --version Mage Build Tool v1.8.0 Build Date: 2019-02-17T07:46:34Z Commit: aedfce6 built with: go1.11.5
This is my mage version and GOPATH
$ mage --version
Mage Build Tool v1.8.0
Build Date: <not set>
Commit: <not set>
built with: go1.10
$ echo $GOPATH
/opt/gopath
@lotty02cho my suggestion is the following. Please let me know if this works for you:
- Setup your environment following the instructions here: https://github.com/hyperledger-labs/blockchain-analyzer/blob/master/docs/Prerequisites.md
- Delete everything under
src
. Yoursrc
directory, if you followed instructions above should in `$HOME/go/$GOVERSION"- Create
github.com
dir undersrc
- Clone the
blockchain-analyzer
repository undersrc/github.com
- In
src/github.com/blockchain-analyzer/agent/fabric-beat
, runmake go-get
I just try to change directory path, but it doesn't work for me.
@lotty02cho a containerized (and an executable) version of fabricbeat is available now, which helps to get rid of Golang-related issues. For details, please see #37
when I start to run
make setup
to run fabricbeat, I saw that kind of issue.