Welcome to the Linux Foundation Forum!

Lab 6.1 - Facing error in install and instantiate ReportsChaincode

Options

VirtualBox:~/go/src/github.com/hyperledger/fabric-samples/chaincode$ docker exec -it cli bash
root@b94420a720e0:/opt/gopath/src/github.com/hyperledger/fabric/peer# peer chaincode install -n reports -v 1.0 -p github.com/reports_chaincode -l golang
2020-11-28 05:06:01.165 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 001 Using default escc
2020-11-28 05:06:01.177 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 002 Using default vscc
Error: error getting chaincode code reports: error getting chaincode package bytes: Error obtaining imports: command : failed with error: "exit status 1"
can't load package: package github.com/reports_chaincode: no Go files in /opt/gopath/src/github.com/reports_chaincode

Comments

Categories

Upcoming Training