我正在尝试在 Bluemix Services 中部署 car-lease-demo,但在 swaggerApi 中找不到 chaincodeID 的正确路径。我使用了IBM 的 github repo,但它输出了这个错误:
{
"jsonrpc": "2.0",
"error": {
"code": -32001,
"message": "Deployment failure",
"data": "Error when deploying chaincode: Error getting chaincode package bytes: Error getting code 'go get' failed with error: \"exit status 1\"\npackage github.com/IBM-Blockchain/car-lease-demo/Chaincode/vehicle_code: cannot find package \"github.com/IBM-Blockchain/car-lease-demo/Chaincode/vehicle_code\" in any of:\n\t/opt/go/src/github.com/IBM-Blockchain/car-lease-demo/Chaincode/vehicle_code (from $GOROOT)\n\t/opt/gopath/_usercode_/798513695/src/github.com/IBM-Blockchain/car-lease-demo/Chaincode/vehicle_code (from $GOPATH)\n\t/opt/gopath/src/github.com/IBM-Blockchain/car-lease-demo/Chaincode/vehicle_code\n"
},
"id": 3
}
我找到了这个 来源并检查了 JSON 选项卡,但开头提到的包不起作用。
知道在 BMX 中部署 car-lease-demo 链码的 chaincodeID 的正确路径是什么吗?
我正在使用 BMX v0.6