hyperledger-fabrichyperledger-chaincode

Deploying Chaincode Failed


I was following the tutorial of hyperledger fabric "Using the Fabric Test Network", ang upon deploying the chaincode to the channel I encountered errors that I don't know what's the problem with it. I tried everything I have searched so far but no luck on fixing it. I tried uninstalling everything, and starting from the beginning of the installation but again no luck. I am new to this blockchain platform and is an aspiring developer for it. Anyone Please help.

Here is the result upon running the chaincode deployment : Image here

Please do note that I tried installing golang (go1.13.x versions, go1.18.x and go1.19.x)but none solved the problem, anybody please help.


Solution

  • I see this error in your screenshot:

    go: command not found

    Check you can run go from your shell:

    go version
    

    You likely need to add the go executable to your shell's PATH, as described in the Go installation instructions.