Open eecavanna opened 2 days ago
For reference, I do have jq
available, but not yq
.
yq
can be downloaded from here: https://github.com/mikefarah/yq/
Installing yq
on MacOS Sequoia leads to this user experience:
I recommend containerizing this project.
Even with yq
present on my computer, and running via $ yq
in zsh, the make all
command fails with the same error:
I think that's because the make all
stuff is running in bash
instead of zsh
, and the alias doesn't exist in that bash
shell.
Even after updating my local ~/.bash_profile
to define the alias alias yq='~/Downloads/Portable/yq_darwin_arm64'
, the make all
command fails with the same error.
I got places to be. I'm going to edit the Makefile
locally, like this:
+ yq_alias:
+ alias yq='~/Downloads/Portable/yq_darwin_arm64'
- all: site
+ all: yq_alias site
Same error:
bash: yq: command not found
Instead of creating the alias in Makefile
as shown above, I'll create it in project.Makefile
, at the beginning of the problematic target:
local/with_shuttles_yq.yaml: local/with_shuttles.yaml
+ alias yq='~/Downloads/Portable/yq_darwin_arm64'
Same error.
bash: yq: command not found
I tried running
$ make all
without havingyq
installed on my computer. When I did that, I got this error (notice the 3rd line from the bottom):Emphasis:
Indeed, when I run
$ yq --version
on my computer, I get a similar error message (same error, different shell).