magefile / mage

a Make/rake-like dev tool using Go
https://magefile.org
Apache License 2.0
4.12k stars 251 forks source link

Bug: exit status 128 #428

Open c-seeger opened 2 years ago

c-seeger commented 2 years ago

Bug Description running mage on a new project results in FATAL[0000] exit status 128. This error is not very helpful since there seem to be no error code documentation anywere in the project.

What did you do? run mage

What did you expect to happen? get list of targets

What actually happened? FATAL[0000] exit status 128

Environment

Additional context

Refers to: https://github.com/magefile/mage/issues/357 Showing underlying errors.

Document error codes somewhere easy to find.

c-seeger commented 2 years ago

Some more context. This happend due to not initialized git repo. Since it was a new project after git init mage works fine. But still the error was resolved due to luck. Error codes are really missing enough information to debug issues.