Post
Topic
Board Bitcoin Technical Support
Re: Questions RE: setting up Lightning Node on Raspberry Pi with Stadicus' guide
by
Zand_
on 16/01/2019, 00:13:35 UTC
I then proceeded to try and download Zap Connect but now get the following output

Code:
package github.com/LN-Zap/zapconnect: mkdir /home/admin/go/src: permission denied

It looks like Go requires three more folders to work. Use sudo mkdir ~/go/bin ~/go/src ~/go/pkg. You can also run all the commands from Zap connect with sudo in the beginning just in case.

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)