IBM/loyalty-points-evm-fabric

Unexpected directory layout while building fab3

Closed this issue · 1 comments

I'm new to fabric development here. Im getting an error unexpected directory layout while building fab3 using this command

go build -o fab3 ./fabproxy/cmd

this is the exact error showing in console

unexpected directory layout:
        import path: github.com/hyperledger/fabric-sdk-go/pkg/client/channel
        root: /home/ethdev/go/src
        dir: /home/ethdev/go/src/github.com/hyperledger/fabric-chaincode-evm/vendor/github.com/hyperledger/fabric-sdk-go/pkg/client/channel
        expand root: /home/ethdev/go/src
        expand dir: /home/ethdev/go/src/github.com/hyperledger/fabric-chaincode-evm/vendor/github.com/hyperledger/fabric-sdk-go/pkg/client/channel
        separator: /

please let me know what seems to be the problem here

finally I'm able to figure out what causes error. basically pakage not existed in the impoert directory. so I pulled it from github source and it works.