Post
Topic
Board Bitcoin Technical Support
Re: Questions RE: setting up Lightning Node on Raspberry Pi with Stadicus' guide
by
BitCryptex
on 16/01/2019, 00:15:55 UTC
Hmm, I created those folders and tried to download Zap again with using sudo at the beginning (sudo go get -d github.com/LN-Zap/zapconnect) but now getting the original error message (package github.com/LN-Zap/zapconnect: cannot download, $GOPATH not set. For more details see: go help gopath)

Try running that command without sudo. Also, check what has happened to $GOPATH by typing in go env. If it has changed then use the previous two echo commands to set it again.