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

Import error #26

Closed
gitevildelta opened this issue Nov 7, 2023 · 11 comments
Closed

Import error #26

gitevildelta opened this issue Nov 7, 2023 · 11 comments

Comments

@gitevildelta
Copy link

Hello,

I am unable to import your library.

The following output will make you understand the situation:

../../go/pkg/mod/github.com/minio/selfupdate@v0.6.0/minisign.go:8:2: unrecognized import path "aead.dev/minisign": reading https://aead.dev/minisign?go-get=1: 404 Not Found
@TH3-F001
Copy link

Same issue on Fedora 38 halted 'go install' for several tools used in a script im working on.

@TH3-F001
Copy link

TH3-F001 commented Nov 26, 2023

Found a workaround referenced in the subfinder issue. Updating to the latest version of go fixes the issue. I dont understand how, but hey, I can install subfinder now... just kind of inconvenient to have to manually install from the go website instead of your package manager if it happens to use an older version of go like Fedora

@gitevildelta
Copy link
Author

Looks like to have been fixed by upgrading golang

@Brueggus
Copy link

Brueggus commented Dec 7, 2023

According to the issue linked above, updating to golang 1.21 should have resolved the issue.

However...

$ go version
go version go1.21.4 linux/arm64
$ go install -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest
go: downloading aead.dev/minisign v0.2.0
/root/go/pkg/mod/github.com/minio/selfupdate@v0.6.1-0.20230907112617-f11e74f84ca7/minisign.go:8:2: unrecognized import path "aead.dev/minisign": reading https://aead.dev/minisign?go-get=1: 404 Not Found

@h4ng3r
Copy link

h4ng3r commented Dec 7, 2023

I'm having the same issue with go1.21.5

@TH3-F001
Copy link

TH3-F001 commented Dec 8, 2023

Can y'all go to the linked issue and post the output the the commands therein? (neofetch optional) also how did you install go? Straight from go lang, or via package manager?

@h4ng3r
Copy link

h4ng3r commented Dec 8, 2023

I've read the linked issues and tried all that's detailed there. I have the latest golang version installed form the golang website, no package manager. Everything else is working fine. But If I try to impor this module I get a 404 error:

$ go get aead.dev/minisign
go: unrecognized import path "aead.dev/minisign": reading https://aead.dev/minisign?go-get=1: 404 Not Found

It's my first time facing this type of issue, I couldn't anything online but this and the other issue and to be honest I don't have any clue what's going on. The request the go get is doing is really returning 404 so I don't know how subfinder and nuclei are able to install this package, but for me it's not working.

@TH3-F001
Copy link

TH3-F001 commented Dec 8, 2023

I'm in the same boat as you guys. I don't get it, either. If you go to to the page that Go looks for then yeah, 404, no clue how that works, but clearly there is SOME way that it works, so as a tech I'm just trying to troubleshoot the issue. To do so it would be good to know what your setup(s) are like and how they might differ from mine. So far we have "fedora 38 works after installing latest version" and "arch based distros work out of box" so clearly something on the system side plays some kind of role... 🤷‍♂️

@TH3-F001
Copy link

TH3-F001 commented Dec 8, 2023

In other words post the damned output lol

@TH3-F001
Copy link

TH3-F001 commented Dec 8, 2023

Because clearly aeadev isn't making himself known on this issue yet

@Nyx2022
Copy link

Nyx2022 commented Jan 3, 2024

在Windows 11 + golang 1.21.5上还是存在此类问题:

aead.dev/minisign@v0.2.0: unrecognized import path "aead.dev/minisign": parse https://aead.dev/minisign?go-get=1: no go-import meta tags ()

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

5 participants