1

I develope on Ubuntu and going through the Fabric master version documentation. In the test network part, I successfully opened test-network and creating a channel, seems to work correctly. But when I try to start a chaincode on the channel, it goes wrong.

I run the command as follow:

./network.sh deployCC

And it returns error as follow:

Error: error getting chaincode bytes: listing deps for pacakge ../chaincode/fabric/go failed: exit status 2
!!!Chaincode packing on peer0.org1 has failed!!!

ERROR!!! Deploying chaincode failed

May somebody tells me what's happened? Thanks for kindly help.

enter image description here

Following are error logs from docker. enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here

JasonLee
  • 53
  • 1
  • 5

1 Answers1

0

From the go: unknown subcommand “mod” error message, I’m guessing you’re using a very old version of go.

The script is likely trying to vendor the chaincode dependencies prior to packaging for deployment.

southwick
  • 24
  • 1