Hi to all who can help.
Currently developing a chaincode for fabric version 1.0. The problem is, even after vendoring, when I do the deployment, I get this error.
[DEBUG] instantiate-chaincode -
============ Instantiate chaincode on organization XYZ ============
error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Error starting container: Failed to generate platform-specific docker build: Error returned from build: 1 "chaincode/input/src/XYZ/vendor/github.com/hyperledger/fabric/bccsp/factory/pluginfactory.go:12:2: cannot find package "plugin" in any of:
/chaincode/input/src/XYZ/vendor/plugin (vendor tree)
/opt/go/src/plugin (from $GOROOT)
/chaincode/input/src/plugin (from $GOPATH)
/opt/gopath/src/plugin
"
at /usr/src/app/node_modules/grpc/src/node/src/client.js:434:17
error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Error starting container: Failed to generate platform-specific docker build: Error returned from build: 1 "chaincode/input/src/XYZ/vendor/github.com/hyperledger/fabric/bccsp/factory/pluginfactory.go:12:2: cannot find package "plugin" in any of:
/chaincode/input/src/XYZ/vendor/plugin (vendor tree)
/opt/go/src/plugin (from $GOROOT)
/chaincode/input/src/plugin (from $GOPATH)
/opt/gopath/src/plugin
"
The fabric images that I'm using are:
- hyperledger/fabric-peer:x86_64-1.0.3
- hyperledger/fabric-ca:x86_64-1.0.3
- hyperledger/fabric-tools:x86_64-1.0.3
- hyperledger/fabric-couchdb:x86_64-0.4.6
- hyperledger/fabric-orderer:x86_64-1.0.3