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
Hello, I build the docker image in the fork of master. When I install chaincodes, I could not build chaincode successfully. Could you give me some suggestions? Thank you.
The error information: unexpected error, Error: Failed to send install Proposal or receive valid response: Error: chaincode installed to peer but could not build chaincode: docker build failed: docker image build failed: docker build failed: Error returned from build: 1 "/chaincode/input/src/contract/fabric/ycsb/ycsb.go:16:2: cannot find package "github.com/hyperledger/fabric-chaincode-go/shim" in any of: /usr/local/go/src/github.com/hyperledger/fabric-chaincode-go/shim (from $GOROOT) /chaincode/input/src/github.com/hyperledger/fabric-chaincode-go/shim (from $GOPATH) /go/src/github.com/hyperledger/fabric-chaincode-go/shim /chaincode/input/src/contract/fabric/ycsb/ycsb.go:17:2: cannot find package "github.com/hyperledger/fabric-protos-go/peer" in any of: /usr/local/go/src/github.com/hyperledger/fabric-protos-go/peer (from $GOROOT) /chaincode/input/src/github.com/hyperledger/fabric-protos-go/peer (from $GOPATH) /go/src/github.com/hyperledger/fabric-protos-go/peer
The text was updated successfully, but these errors were encountered:
Hello, I build the docker image in the fork of master. When I install chaincodes, I could not build chaincode successfully. Could you give me some suggestions? Thank you.
The error information:
unexpected error, Error: Failed to send install Proposal or receive valid response: Error: chaincode installed to peer but could not build chaincode: docker build failed: docker image build failed: docker build failed: Error returned from build: 1 "/chaincode/input/src/contract/fabric/ycsb/ycsb.go:16:2: cannot find package "github.com/hyperledger/fabric-chaincode-go/shim" in any of: /usr/local/go/src/github.com/hyperledger/fabric-chaincode-go/shim (from $GOROOT) /chaincode/input/src/github.com/hyperledger/fabric-chaincode-go/shim (from $GOPATH) /go/src/github.com/hyperledger/fabric-chaincode-go/shim /chaincode/input/src/contract/fabric/ycsb/ycsb.go:17:2: cannot find package "github.com/hyperledger/fabric-protos-go/peer" in any of: /usr/local/go/src/github.com/hyperledger/fabric-protos-go/peer (from $GOROOT) /chaincode/input/src/github.com/hyperledger/fabric-protos-go/peer (from $GOPATH) /go/src/github.com/hyperledger/fabric-protos-go/peer
The text was updated successfully, but these errors were encountered: