I'm running and adapting chaincode dev mode, for javascript chaincode, and for Fabric 2.0-beta. I launch the network and adapt the script.sh (client) to run:
set -e
peer channel create -c myc -f myc.tx -o orderer:7050
peer channel join -b myc.block
cd chaincode
peer lifecycle chaincode package chaincode.tar.gz --lang node --path ./ --label justicechain_1
peer lifecycle chaincode install chaincode.tar.gz
Nonetheless, I find the following error:
Error: chaincode install failed with status: 500 - failed to invoke backing implementation of 'InstallChaincode': could not build chaincode: docker build failed: docker image build failed: docker build failed: Error returned from build: 1 "+ INPUT_DIR=/chaincode/input + OUTPUT_DIR=/chaincode/output + cp -R /chaincode/input/src/. /chaincode/output cp: can't stat '/chaincode/input/src/.': No such file or directory " /opt/gopath/src/chaincodedev/chaincode #
I couldn't find anything online regarding this issue. Any ideas?
EDIT: looks like there are updates - https://jira.hyperledger.org/browse/FAB-18074