Error in HyperLedger Fabric ChainCode
Error in HyperLedger , While running ChainCode you may get many errors here are few errors you get while running ChainCode Application and their solutions
While Building Application you get error in HyperLedger
can’t load package: /usr/local/go/src/sacc/sacc.go:6:2: non-standard import “github.com/hyperledger/fabric/core/chaincode/shim” in standard package “sacc”
This happens when the $GOPATH directory is not rightly set. To remove the error just make sure the $GOPATH is rightly set.
Solution to Problem is to set the $GOPATH Variable using below commands
Founder at Techaroha Solutions Private Limited. 10 Years experience in Software Industry with a special focus on SugarCRM,Artificial Intelligence , Deep Learning , Block Chain Technology and Crypto Currencies and Decentralization of Power using Block Chain. Block Chain Trainer and HyperLedger Trainer