Skip to content

Occuring error when executing ./startFabric.sh #5

@YijingLin123

Description

@YijingLin123
  • Error description:
Error: error getting chaincode code user-chaincode: error getting chaincode package bytes: Error obtaining dependencies for github.com/oraclize/fabric-api: command <go list -f {{ join .Deps "\n"}} github.com/oraclize/fabric-api>: failed with error: "exit status 1"
can't load package: package github.com/oraclize/fabric-api: cannot find package "github.com/oraclize/fabric-api" in any of:
	/opt/go/src/github.com/oraclize/fabric-api (from $GOROOT)
	/opt/gopath/src/github.com/oraclize/fabric-api (from $GOPATH)
  • Environment:
    ubuntu 16.04 TLS
    Docker version 19.03.2, build 6a30dfc
    docker-compose version 1.24.1, build 4667896b
    go version go1.13.4 linux/amd64
    git version 2.7.4
    node version v4.2.6

  • go env

    GOPATH="/home/ubuntu/go"
    GOROOT="/usr/local/go"
    

And i find that fabric-api has been my gopath directory.

I'm looking forward for your suggestions.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions