getJS icon indicating copy to clipboard operation
getJS copied to clipboard

Help me on installation

Open netoxss opened this issue 1 year ago • 5 comments

Trying to install but returns me the message error: [email protected]/iteration.go:3:8: package iter is not in GOROOT

netoxss avatar Dec 02 '24 12:12 netoxss

image

netoxss avatar Dec 02 '24 12:12 netoxss

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

003random avatar Dec 02 '24 13:12 003random

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

netoxss avatar Dec 02 '24 14:12 netoxss

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.

003random avatar Dec 03 '24 12:12 003random

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

netoxss avatar Dec 03 '24 14:12 netoxss