## TL;DR

Upgrade earthly to the latest release to get the improved error output. Unreadable Earthly error messages (long unwrapped lines eating terminal real estate): fixed via linked PRs, shipped up to release v0.7.21.

## Steps

1. Issue earthly/earthly#3200 (closed, 8 comments): Some errors are difficult to parse by a human. Here are some examples... Note that GH's representation doesn't do justice because there's no wrapping. In a terminal, the really long lines take up a LOT of real-estate space that looks very intimidating...

2. Unreadable Earthly error messages (long unwrapped lines eating terminal real estate): fixed via linked PRs, shipped up to release v0.7.21. Upgrade earthly to the latest release to get the improved error output. Any remaining unaddressed cases were split into separate linked issues.

## When to use

You are seeing this: Issue earthly/earthly#3200 (closed, 8 comments): Some errors are difficult to parse by a human. Use this skill when you run into "Improve error messages".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

Versions mentioned in the source: v0.7.21. If you are on something much newer or older, the details may have shifted.

## Why this happens

Note that GH's representation doesn't do justice because there's no wrapping.

## Edge cases

- Note that GH's representation doesn't do justice because there's no wrapping.

## Sources

- https://github.com/earthly/earthly/issues/3200
