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

If you still face issue feel free to contact techaroha team. Techaorha team has best blockchain developers in India to help yours with all your BlockChain, HyperLedger Fabric and Solidity Needs.

Founder at Techaroha Solutions Private Limited. 10 Years experience in Software Industry with a special focus on SugarCRM, BlockChain Technology and Crypto Currencies and Decentralization of Power using BlockChain.
Facebook Comments

2 Comments

Leave a Reply