Welcome to the Linux Foundation Forum!

Lab 4.1: Step-by-Step SimpleChaincode Lifecycle Error

I'm getting error

root@02d75f909e05:/opt/gopath/src/github.com/hyperledger/fabric/peer# peer chaincode install -n simple_cc -v 1.0 -p github.com/simple_chaincode
2020-11-08 04:16:03.125 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 001 Using default escc
2020-11-08 04:16:03.125 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 002 Using default vscc
Error: error getting chaincode code simple_cc: error getting chaincode package bytes: Error obtaining imports: command : failed with error: "exit status 1"
can't load package: package github.com/simple_chaincode:
../../../simple_chaincode/simple_chaincode.go:1:1: expected 'package', found 'EOF'

Comments

This discussion has been closed.

Categories

Upcoming Training