You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mise seems to sometimes(?) fail to install Go tools that are in subdirectory of the repository.
To Reproduce
$ mise install go:github.com/noperator/sol/cmd/sol@latest
go: invalid github.com import path "github.com/noperator"
go: invalid github.com import path "github.com"
mise WARN No versions found for go:github.com/noperator/sol/cmd/sol
That's an interesting find! But, I think it still completed successfully, no? The main issue seems to do with the lack of versions for sol. But I think this behaviour is actually expected due to how Go modules work with repositories that don't have version tags.
While go install github.com/noperator/sol/cmd/sol@latest works because Go can fall back to pseudo-versioning, the go list -m -versions command (which mise uses internally to discover available versions) doesn't return any results for repositories without explicit version tags.
You can verify this by running:
$ go list -m -versions -json github.com/noperator/sol/cmd/sol
{
"Path": "github.com/noperator/sol/cmd/sol"
}
Describe the bug
Mise seems to sometimes(?) fail to install Go tools that are in subdirectory of the repository.
To Reproduce
Expected behavior
It works, like
go install
.mise doctor
outputThe text was updated successfully, but these errors were encountered: