Welcome to the Linux Foundation Forum!

Lab6: cannot find package "google.golang.org/grpc"

haggis
haggis Posts: 4
edited October 2020 in LFS272 Class Forum

Hi,
when I do the chaincode upgrade I get the following error:

# peer chaincode upgrade -n ccForAll -v 1.1 -C allarewelcome -c '{"Args":["Mach","50"]}' -P "AND('Org1.peer', 'Org2.peer', OR ('Org1.peer', 'Org2.peer'))"

Error: could not assemble transaction, err proposal response was not successful, error code 500, msg error starting container: error starting container: Failed to generate platform-specific docker build: Error returned from build: 1 "chaincode/input/src/github.com/sacc/vendor/github.com/hyperledger/fabric-protos-go/peer/chaincode_shim.pb.go:11:2: cannot find package "google.golang.org/grpc" in any of:

Doing a go get -u -v google.golang.org/grpc at the cli container doesn't fix the issue.

Comments

  • haggis
    haggis Posts: 4

    I could install and update the chaincode as version 1.2 after the go get... command.

Categories

Upcoming Training