在運行./network.sh deployCC
是出現如下錯誤:
Error: failed to normalize chaincode path: 'go list' failed with: go: github.com/golang/protobuf@v1.3.2: Get "https://proxy.golang.org/github.com/golang/protobuf/@v/v1.3.2.mod": dial tcp 216.58.200.49:443: i/o timeout: exit status 1
Chaincode packaging on peer0.org1 has failed
Deploying chaincode failed
主要是沒有將go語言的源換成國內的,可以使用一下方法解決:
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn,direct