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 “” 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

export GOPATH=$HOME/go

Facebook Comments
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

Leave a Reply

Show Buttons
Hide Buttons
Social Share Buttons and Icons powered by Ultimatelysocial