You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't build a controller by make command. I can't execute make commands with other targets either.
$ make controller
Makefile:83: *** target pattern contains no `%'. Stop.
I investigated the issue and the following code of Makefile is problematic.
...
$(GOPATH)/bin/staticfiles:
# Install the "staticfiles" tool
go get bou.ke/staticfiles
cmd/server/static/files.go: ui/dist/app $(GOPATH)/bin/staticfiles
# Pack UI into a Go file.
staticfiles -o cmd/server/static/files.go ui/dist/app
...
Because my GOPATH is /Users/dtaniwaki/pfidev:/Users/dtaniwaki/go, it makes the Makefile invalid.
What you expected to happen:
It should build a controller.
How to reproduce it (as minimally and precisely as possible):
Checklist:
What happened:
I can't build a controller by make command. I can't execute make commands with other targets either.
I investigated the issue and the following code of
Makefile
is problematic.Because my
GOPATH
is/Users/dtaniwaki/pfidev:/Users/dtaniwaki/go
, it makes the Makefile invalid.What you expected to happen:
It should build a controller.
How to reproduce it (as minimally and precisely as possible):
Set multiple paths on
GOPATH
.Anything else we need to know?:
Environment:
Other debugging information (if applicable):
Logs
Message from the maintainers:
If you are impacted by this bug please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.
The text was updated successfully, but these errors were encountered: