-
-
Notifications
You must be signed in to change notification settings - Fork 184
Open
Description
Hello
The script fails to install subjs because the command used is deprecated in modern Go versions (go get -u is no longer supported for binaries).
- Clone the repo and run
./install.sh - Installation of
subjssilently fails - Running
subjsreturns:command not found
Expected Behavior:
subjs should be installed and accessible in $PATH.
Actual Behavior:
No binary is installed, and the command silently fails on Go 1.17+.
Root Cause:
go get -u github.com/lc/subjs@latest is deprecated. As of Go 1.17+, the correct install syntax is:
go install github.com/lc/subjs@latestSuggested Fix:
In install.sh, replace:
go get -u github.com/lc/subjs@latestwith:
go install github.com/lc/subjs@latestAlso ensure $GOPATH/bin is added to $PATH.
Environment:
- OS: Ubuntu / Exegol
- Go version: 1.22.2
- JSFScan commit: latest (May 2025)
Metadata
Metadata
Assignees
Labels
No labels