Skip to content
This repository was archived by the owner on Jan 10, 2019. It is now read-only.
This repository was archived by the owner on Jan 10, 2019. It is now read-only.

Chaincode failing to deploy Error: getting chaincode package bytes: Error getting code 'go get' failed with error: #1

Description

@GoodFaithParadigm8

Deployed chaincode several different ways onto Fabric each time resulting with with the error above.
Tried suggestions found on StackOverflow to resolve the issue without success.

Log output from node:

OUT - 16:28:22.771 [rest] ProcessChaincode -> INFO 0a8 [0m REST processing chaincode request... OUT - 16:28:22.771 [rest] processChaincodeDeploy -> INFO 0a9 [0m REST deploying chaincode... OUT - 16:28:22.771 [rest] processChaincodeDeploy -> INFO 0aa [0m Local user 'user_type1_0' is already logged in. Retrieving login token. OUT - [31m16:28:24.317 [devops] getChaincodeBytes -> ERRO 0ab [0m Error getting chaincode package bytes: Error getting code 'go get' failed with error: "exit status 1" OUT - package github.com/GoodFaithParadigm8/todo-list-fabric/chaincode/chaincode: cannot find package "github.com/GoodFaithParadigm8/todo-list-fabric/chaincode/chaincode" in any of: OUT - /opt/go/src/github.com/GoodFaithParadigm8/todo-list-fabric/chaincode/chaincode (from $GOROOT) OUT - /opt/gopath/_usercode_/262468799/src/github.com/GoodFaithParadigm8/todo-list-fabric/chaincode/chaincode (from $GOPATH) OUT - /opt/gopath/src/github.com/GoodFaithParadigm8/todo-list-fabric/chaincode/chaincode OUT - [31m16:28:24.317 [devops] Deploy -> ERRO 0ac [0m Error deploying chaincode spec: type:GOLANG chaincodeID:<path:"https://github.com/GoodFaithParadigm8/todo-list-fabric/chaincode/chaincode" > ctorMsg:<args:"string" args:"string" > secureContext:"user_type1_0"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions