What did you do?
I installed Mage v 1.13.0 using Homebrew (brew install mage) and ran the command in a directory with a Magefile.
What did you expect to happen?
I expected it to execute the build using the Magefile in the directory I'm in.
What actually happened?
It threw this error.
Environment
Mage Version: 1.13.0
OS: MacOS Monterey 12.3.1
Additional context
I believe this is related to this issue, even though it specifies that anything that targets Go 1.11 and up should be fine.
I was able to solve this by following the manual installation process and updating the go.mod file to target Go 1.18. Note: Attempting to build this manually while still targeting Go 1.12 throws an error: undefined: StackGuardMultiplierDefault.
I'm submitting this as an issue I guess to bring attention to it and also hopefully help anyone else who's running into this problem!
Bug Description On MacOS Monterey 12.3.1, Mage throws the following error when you attempt to run it (
mage -v
):What did you do? I installed Mage v 1.13.0 using Homebrew (
brew install mage
) and ran the command in a directory with a Magefile.What did you expect to happen? I expected it to execute the build using the Magefile in the directory I'm in.
What actually happened? It threw this error.
Environment
Additional context I believe this is related to this issue, even though it specifies that anything that targets Go 1.11 and up should be fine.
I was able to solve this by following the manual installation process and updating the go.mod file to target Go 1.18. Note: Attempting to build this manually while still targeting Go 1.12 throws an error:
undefined: StackGuardMultiplierDefault
.I'm submitting this as an issue I guess to bring attention to it and also hopefully help anyone else who's running into this problem!