You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
@RookieLinLucy666 This link github.com/oraclize/fabric-api does not exist any more after our rebranding, it should be github.com/provable-things/fabric-api.
Sorry, it couldn't fix this error. I altered the package in the user-chaincode.go , and reoperated the go get github.com/provable-things/fabric-api. This problem still exists.
Error: error getting chaincode code user-chaincode: error getting chaincode package bytes: Error obtaining dependencies for github.com/provable-things/fabric-api: command <go list -f {{ join .Deps "\n"}} github.com/provable-things/fabric-api>: failed with error: "exit status 1"
can't load package: package github.com/provable-things/fabric-api: cannot find package "github.com/provable-things/fabric-api" in any of:
/opt/go/src/github.com/provable-things/fabric-api (from $GOROOT)
/opt/gopath/src/github.com/provable-things/fabric-api (from $GOPATH)
And i found that something wronged when removing images in ./startFabric.sh. Maybe the documentary forgot to write something?
Ps: I'm sure that the Fabric Network can start successfully.
Error: No such image: dev-peer0.org1.example.com-oraclize-connector-1.0-7765c3fb5c4224a4a2784d8a64a5488e570d39940695306f78f8e54009d89102
Error: No such image: dev-peer0.org1.example.com-user-chaincode-1.0-58b4cc4747da6f30d7cb2cea6511560c9fdad78c58ba6881b33801a2d69aebae
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
And i find that fabric-api has been my gopath directory.
I'm looking forward for your suggestions.
The text was updated successfully, but these errors were encountered: