Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue building on PiOS Bullseye #59

Open
Trotter73 opened this issue Dec 1, 2022 · 0 comments
Open

Issue building on PiOS Bullseye #59

Trotter73 opened this issue Dec 1, 2022 · 0 comments

Comments

@Trotter73
Copy link

Trotter73 commented Dec 1, 2022

Hi,

I've been trying to build on PiOS Bullseye (Debain 11) 32Bit on a Pi3B and ran into a couple of problems.

Following the instructions here for Ubuntu, https://github.com/grafana/mqtt-datasource/issues/15#issuecomment-894477802

Firstly, it appears Node 16 is now required, there was an error thrown, easily fixed with this;

curl -sL https://deb.nodesource.com/setup_16.x | sudo bash -

Secondly, I got this error;

✔ Compiling... /home/pi/go/pkg/mod/github.com/grafana/grafana-plugin-sdk-go@v0.144.0/build/common.go:5:2: package embed is not in GOROOT (/usr/lib/go-1.15/src/embed) Error: error compiling magefiles error Command failed with exit code 1.

PiOS Bullseye (Debain 11) apparently ships with go1.15 but embed was only included in go1.16

Is there a way around this? I suppose I could use Ubuntu on the Pi but I am out of my comfort zone there, and would like to stick to PiOS if at all possible...

Many Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant