hermes
hermes copied to clipboard
invalid version: unknown revision 000000000000
I'm getting the following error, any idea?
$ go get github.com/matcornic/[email protected]
go: downloading github.com/imdario/mergo v0.0.0-00010101000000-000000000000
go: github.com/matcornic/hermes imports
github.com/Masterminds/sprig imports
github.com/imdario/mergo: github.com/imdario/[email protected]: invalid version: unknown revision 000000000000
$ go version
go1.24.3 darwin/arm64
ok weird. it worked by installing v1.2.0 first and upgrading to v1.3.0 afterwards:
$ go get github.com/matcornic/[email protected]
$ go get github.com/matcornic/[email protected]
damn now it throws runtime errors:
[00] # github.com/jaytaylor/html2text
[00] ../../../../go/pkg/mod/github.com/jaytaylor/[email protected]/html2text.go:41:35: undefined: tablewriter.Border
[00] ../../../../go/pkg/mod/github.com/jaytaylor/[email protected]/html2text.go:50:37: undefined: tablewriter.MAX_ROW_WIDTH
[00] ../../../../go/pkg/mod/github.com/jaytaylor/[email protected]/html2text.go:51:37: undefined: tablewriter.COLUMN
[00] ../../../../go/pkg/mod/github.com/jaytaylor/[email protected]/html2text.go:52:37: undefined: tablewriter.ROW
[00] ../../../../go/pkg/mod/github.com/jaytaylor/[email protected]/html2text.go:53:37: undefined: tablewriter.CENTER
[00] ../../../../go/pkg/mod/github.com/jaytaylor/[email protected]/html2text.go:54:37: undefined: tablewriter.ALIGN_DEFAULT
[00] ../../../../go/pkg/mod/github.com/jaytaylor/[email protected]/html2text.go:55:37: undefined: tablewriter.ALIGN_DEFAULT
[00] ../../../../go/pkg/mod/github.com/jaytaylor/[email protected]/html2text.go:56:37: undefined: tablewriter.ALIGN_DEFAULT
[00] ../../../../go/pkg/mod/github.com/jaytaylor/[email protected]/html2text.go:58:37: undefined: tablewriter.NEWLINE
[00] ../../../../go/pkg/mod/github.com/jaytaylor/[email protected]/html2text.go:62:37: undefined: tablewriter.Border
[00] ../../../../go/pkg/mod/github.com/jaytaylor/[email protected]/html2text.go:62:37: too many errors
got same issue, i'm use go1.24.4
look like the issue is from dependency html2text, https://github.com/jaytaylor/html2text/issues/67
Incase anyone runs into this issue. Add the following to your go.mod file
replace github.com/imdario/mergo => github.com/imdario/mergo v0.3.16
More context here