Occur path not found while deploy a new chaincode.
mingjinc opened this issue · comments
Description
I added a new chaincode in the folder github.com/hyperledeger/fabric/examples/chaincode/go, while I deploy it, it occurs not found error. How to resolve it?
{
"jsonrpc": "2.0",
"error": {
"code": -32001,
"message": "Deployment failure",
"data": "Error when deploying chaincode: Path to chaincode does not exist: github.com/hyperledeger/fabric/examples/chaincode/go/newchaincode"
},
"id": 1
}
Describe How to Reproduce
My environment is using Vagrant.
Are you using the node.js SDK to deploy? If yes, are you sure that github.com/hyperledeger/fabric/examples/chaincode/go/newchaincode directory exists on your client machine?
@smithbk , I am using REST API to deploy.
newchaincode is located in the directory /$GOPATh/src/github.com/hyperledeger/fabric/examples/chaincode/go
@minginc Trying to contact you directly on slack or other but couldn't find you online, so I sent email to follow up.
Any details here?
@mingjinc i have the same problem , can you help me?