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

Help me on installation #26

Open
netoxss opened this issue Dec 2, 2024 · 5 comments
Open

Help me on installation #26

netoxss opened this issue Dec 2, 2024 · 5 comments

Comments

@netoxss
Copy link

netoxss commented Dec 2, 2024

Trying to install but returns me the message error: goquery@v1.10.0/iteration.go:3:8: package iter is not in GOROOT

@netoxss
Copy link
Author

netoxss commented Dec 2, 2024

image

@003random
Copy link
Owner

Hi @netoxss, what Go version and possible custom environment settings are you using?

@netoxss
Copy link
Author

netoxss commented Dec 2, 2024

hi, version 1.18.1
image
and i belive theres not a custom enviroment, i just installed go via apt install and used go install for two others scripts
image

@003random
Copy link
Owner

I'm not sure getJS works with your Go version. IIRC, goquery might even require version 1.23. The easiest method to upgrade is probably by using https://github.com/udhos/update-golang. Let me know if this would work, and if yes, resolved your issue.

@netoxss
Copy link
Author

netoxss commented Dec 3, 2024

The script works and i updated my go version, even with the new version installed and the 1.18 purged, when i run the go install command, it get the goroot from the 1.18 version. In the end i purged the 1.18 version, excluded all files from this that i found, and installed via apt snap
image
image

THX for the help

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

2 participants