Jeson Godilo
Sep 6, 2018 · 1 min read

Moses Sam Paul, thanks for this great article I follow it throughout and successfully create my own tuna-app. However, when I try to customize it my own and create my own chain code. I am getting the below error, hope you can help. Thank you.

2018–09–06 07:25:06.071 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 044 Using default escc
2018–09–06 07:25:06.085 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 045 Using default vscc
2018–09–06 07:25:06.086 UTC [chaincodeCmd] getChaincodeSpec -> DEBU 046 java chaincode disabled
2018–09–06 07:25:06.255 UTC [golang-platform] getCodeFromFS -> DEBU 047 getCodeFromFS github.com/qrneo-app
Error: error getting chaincode code qrneo-app: error getting chaincode package bytes: Error obtaining imports: <go, [list -f {{ join .Imports “\n”}} github.com/qrneo-app]>: failed with error: “exit status 1”
can’t load package: package github.com/qrneo-app:
../../../qrneo-app/qrneo-chaincode.go:9:8: expected ‘STRING’, found ‘{‘
../../../qrneo-app/qrneo-chaincode.go:10:2: expected ‘;’, found ‘STRING’ “bytes”