diamondburned / cchat-gtk

Gtk frontend for cchat.
GNU General Public License v3.0
37 stars 1 forks source link

Failing to build because of "hash/maphash" error #7

Open TriVoxel opened 4 years ago

TriVoxel commented 4 years ago

Trying to build but keep getting this error:

...
go: downloading github.com/diamondburned/cchat-mock v0.0.0-20200725221657-0f83829667d2
go: extracting github.com/diamondburned/cchat v0.1.3
go: extracting github.com/diamondburned/cchat-mock v0.0.0-20200725221657-0f83829667d2
go: extracting github.com/diamondburned/cchat-discord v0.0.0-20200908044409-0f1cdafec6dc
go: finding golang.org/x/sys latest
go: finding github.com/diamondburned/gotk3 v0.0.0-20200816224505-3cd69b83a48a
build github.com/diamondburned/cchat-gtk: cannot load hash/maphash: malformed module path "hash/maphash": missing dot in first path element
...

I think there may be a config file somewhere that is messed up. I ran go get -u ./ in the cloned repo directory. Then I tried again with go get github.com/diamondburned/cchat-gtk but same error. Hopefully this helps. I'd try to debug it more but I've never worked with Go before and it doesn't seem to be giving me filenames or lines for some reason.

diamondburned commented 4 years ago

Package maphash is only available in Go 1.14 and later as of the documentation.