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

make build/plugin-backend assumes mage is available in PATH #191

Open
joeyorlando opened this issue Jan 29, 2024 · 0 comments
Open

make build/plugin-backend assumes mage is available in PATH #191

joeyorlando opened this issue Jan 29, 2024 · 0 comments
Labels
area/codegen type/bug Something isn't working

Comments

@joeyorlando
Copy link

I was trying to run tilt up for the grafana/gops-labels repo (which AFAIK was generated via grafana-app-sdk project init) and ran into this:

$ git clone [email protected]:grafana/gops-labels.git # starting from a fresh repo
$ tilt up

...
Running cmd: make build/plugin-backend
/bin/sh: mage: command not found
make: *** [build/plugin-backend] Error 127
Build Failed: Command "make build/plugin-backend" failed: exit status 2

We may want to enhance the Makefile template's deps target to also install mage. From the docs this might even be as simple as:

.PHONY: deps
deps: $(VENDOR)
++  git clone https://github.com/magefile/mage
++  cd mage
++  go run bootstrap.go
@radiohead radiohead added type/bug Something isn't working area/codegen labels Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/codegen type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants