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, 03:04:27 UTC
When I try downloading Zap without sudo I get the other error (package github.com/LN-Zap/zapconnect: mkdir /home/admin/go/src/github.com: permission denied). I checked environment details again and they look to be the same, details below.

Okay, that's great. For some reason permissions are not working properly so we will have to do it in a bit insecure way. Use sudo chmod -R 777 ~/go (this will allow every single user to modify the contents of folders and files inside go) and then run go get -d github.com/LN-Zap/zapconnect. I am too sleepy to think of a better solution.

Went ahead and tried the less secure method but unfortunately I was presented with a new error, as seen below

Code:
package math/bits: unrecognized import path "math/bits" (import path does not begin with hostname)

I don't want to hold you up from sleep so maybe take a look in the morning when you wake up. Also sent a long overdue BTC tip your way (to the address in your profile) for all the help you've provided. The bitcoin community could really benefit from more people like you. Thanks again for your support!