Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to successfully run go install github.com/0xPolygon/polygon-edge@develop #1686

Open
sahil-springworks opened this issue Jun 30, 2023 · 0 comments

Comments

@sahil-springworks
Copy link

Not able to use go install github.com/0xPloygon/polygon-edge@develop

Description

Using the go install github.com/0xPolygon/polygon-edge@develop in a dockerfile is giving an error :-

490.3 /go/pkg/mod/github.com/0x!polygon/polygon-edge@v1.0.1-0.20230629120206-ccf714032d2f/network/discovery/discovery.go:16:2: reading github.com/libp2p/go-libp2p-kbucket/go.mod at revision v0.6.0: unknown revision v0.6.0
#12 490.3 /go/pkg/mod/github.com/0x!polygon/polygon-edge@v1.0.1-0.20230629120206-ccf714032d2f/network/server_identity.go:13:2: reading github.com/libp2p/go-libp2p-kbucket/go.mod at revision v0.6.0: unknown revision v0.6.0
------
executor failed running [/bin/sh -c go install github.com/0xPolygon/polygon-edge@develop]: exit code: 1

Your environment

Running in a docker container.

Dockerfile -

# syntax=docker/dockerfile:1
FROM golang

WORKDIR  /app

ENV GOPROXY direct

RUN go install github.com/0xPolygon/polygon-edge@develop

COPY . .

# EXPOSE PORTS
CMD ["go", "run", "main.go", "genesis-creator.go", "utils.go"]
#CMD ["polygon-edge","server", "export"]

Steps to reproduce

Just running the dockerfile above and facing the issue in installing.

Expected behavior

No error in running go install github.com/0xPolygon/polygon-edge@develop

@sahil-springworks sahil-springworks changed the title reading github.com/libp2p/go-libp2p-kbucket/go.mod at revision v0.6.0: unknown revision v0.6.0 Not able to successfully run go install github.com/0xPolygon/polygon-edge@develop Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant