low-latency-preview icon indicating copy to clipboard operation
low-latency-preview copied to clipboard

cannot find packages

Open adremides opened this issue 4 years ago • 0 comments

After run sudo ./launchServer.sh the log of the server show several missing packages, to solve this I downloaded them from their github repo (gorilla/mux, juju/ansiterm, juju/loggo, lunixbochs/vtclean, mattn/go-colorable, mattn/go-isatty, rs/cors) and put them on the go/src/github.com directory.

Then I got this:

go/src/github.com/mattn/go-isatty/isatty_tcgets.go:6:8: cannot find package "golang.org/x/sys/unix" in any of:
	/streamserv/go/src/vendor/golang.org/x/sys/unix (vendor tree)
	/streamserv/go/src/golang.org/x/sys/unix (from $GOROOT)
	/root/go/src/golang.org/x/sys/unix (from $GOPATH)

Solved this by copy the files from go/src/cmd/vendor/golang.org to go/src/vendor/golang.org

I'm using Kubuntu 20.04

adremides avatar Jul 14 '20 03:07 adremides