Welcome to the Linux Foundation Forum!

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

Posts: 4

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

  1. # 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'))"
  2.  
  3. 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

  • Posts: 4

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

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training