Skip to content

deploy chaincode problem  #4951

Open
Open
@YGmoyu

Description

@YGmoyu

Description

Chaincode is packaged
Installing chaincode on peer0.org1...
Using organization 1

  • peer lifecycle chaincode install basic.tar.gz
  • res=1
    Error: chaincode install failed with status: 500 - failed to invoke backing implementation of 'InstallChaincode': could not build chaincode: docker build failed: docker image build failed: docker build failed: Error returned from build: 1 "vendor/golang.org/x/net/http/httpguts/httplex.go:12:2: //go:build comment without // +build comment
    vendor/google.golang.org/grpc/internal/channelz/syscall_linux.go:24:2: //go:build comment without // +build comment
    vendor/github.com/hyperledger/fabric-protos-go/peer/chaincode_shim.pb.go:10:2: //go:build comment without // +build comment
    vendor/google.golang.org/grpc/internal/channelz/funcs.go:28:2: //go:build comment without // +build comment
    vendor/google.golang.org/grpc/channelz/channelz.go:32:8: //go:build comment without // +build comment
    vendor/google.golang.org/grpc/balancer/roundrobin/roundrobin.go:30:2: //go:build comment without // +build comment
    "
    Chaincode installation on peer0.org1 has failed
    Deploying chaincode failed

Steps to reproduce

my go verison is 1.21.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions