Sambigeara / fuzzynote

Terminal-based, hyper-fast, CRDT-backed, collaborative note-taking tool
GNU Affero General Public License v3.0
371 stars 8 forks source link

Cannot build v0.25.0: »unrecognized import path “nhooyr.io/websocket”« #96

Closed kseistrup closed 1 year ago

kseistrup commented 2 years ago

I wonder if this is just me:

I am unable to build fuzzynote v0.25.0 with go version go1.19.2 on linux/amd64: the hostname nhooyr.io does not resolve — not even if I ask the nameservers listed in whois (ns{1,2}.hover.com), and not even if I ask public resolvers like 1.1.1.1 or 8.8.8.8.

:thinking:

Sambigeara commented 2 years ago

Hmm. I shall try to recreate. Thanks for raising

Sambigeara commented 2 years ago

Can't seem to recreate this, at least on docker, running a linux/amd64 build.

docker run -it --platform linux/amd64 --entrypoint "/bin/bash" golang:1.19.2-bullseye, and then clone, checkout v0.25.0, make build - worked as expected.

Could this be related to your Go installation perhaps?

kseistrup commented 1 year ago

Could this be related to your Go installation perhaps?

I know very little about how the Go ecosystem works, but I keep getting the same error message. I'll keep trying…

kseistrup commented 1 year ago

I found the culprit (me): In order to not having Evil Google track my IP address and log the instance each time I download a golang module, I had set the GOPROXY=direct environment variable. Everything worked as expected as soon as I unset $GOPROXY.

I'm sorry for having wasted your time.

Sambigeara commented 1 year ago

I'm sorry for having wasted your time.

Not at all, I just learnt something new too 😬