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

Install k9s through go get reporting ambiguous import error #1298

Open
tokers opened this issue Nov 4, 2021 · 1 comment
Open

Install k9s through go get reporting ambiguous import error #1298

tokers opened this issue Nov 4, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@tokers
Copy link

tokers commented Nov 4, 2021




Describe the bug

When execute go get -u github.com/derailed/k9s, command reports several errors.

github.com/derailed/k9s imports
        github.com/derailed/k9s/cmd imports
        github.com/derailed/k9s/internal/view imports
        github.com/derailed/k9s/internal/dao imports
        github.com/openfaas/faas/gateway/requests: ambiguous import: found package github.com/openfaas/faas/gateway/requests in multiple modules:
        github.com/openfaas/faas v0.0.0-20200207215241-6afae214e3ec (/home/alex/go/pkg/mod/github.com/openfaas/faas@v0.0.0-20200207215241-6afae214e3ec/gateway/requests)
        github.com/openfaas/faas/gateway v0.0.0-20211101143714-fe152ba69c59 (/home/alex/go/pkg/mod/github.com/openfaas/faas/gateway@v0.0.0-20211101143714-fe152ba69c59/requests)
github.com/derailed/k9s imports
        github.com/derailed/k9s/cmd imports
        github.com/derailed/k9s/internal/view imports
        github.com/derailed/k9s/internal/dao imports
        github.com/openfaas/faas-cli/proxy imports
        github.com/openfaas/faas/gateway/types: ambiguous import: found package github.com/openfaas/faas/gateway/types in multiple modules:
        github.com/openfaas/faas v0.0.0-20200207215241-6afae214e3ec (/home/alex/go/pkg/mod/github.com/openfaas/faas@v0.0.0-20200207215241-6afae214e3ec/gateway/types)
        github.com/openfaas/faas/gateway v0.0.0-20211101143714-fe152ba69c59 (/home/alex/go/pkg/mod/github.com/openfaas/faas/gateway@v0.0.0-20211101143714-fe152ba69c59/types)

To Reproduce
Steps to reproduce the behavior:

  1. Execute go get -u github.com/derailed/k9s

Expected behavior

Should run done successfully.

Screenshots

Versions (please complete the following information):

  • OS:Linux fedora 5.14.14-200.fc34.x86_64 #1 SMP Wed Oct 20 16:15:12 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Additional context

  • Go version: go version go1.17.1 linux/amd64
@tavin
Copy link

tavin commented Nov 4, 2021

same thing on:

(github.com/derailed/k9s@v0.24.14 worked)

@derailed derailed added the bug Something isn't working label Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants