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've noticed stack emitting a mess of unreadable shown exception data
instead of a pretty error message in some cases. I was able to catch at least
one instance just now, and realized it only happens with --file-watch.
% stack build --fast --pedantic --testError: [S-4804] Stack failed to construct a build plan. While constructing the build plan, Stack encountered the following errors: In the dependencies for agent-0.0.0.1: monad-validate needed, but the Stack configuration has no specified version (latest matching version is 1.2.0.1) needed since agent is a build target.
@pbrisbin, thanks for reporting. You are experiencing the same problem as in #5978, and the problem has been fixed in Stack's master branch. If you want to get that Stack version now, stack upgrade --source-only --git should build and install it.
General summary/comments (optional)
I've noticed
stack
emitting a mess of unreadableshow
n exception datainstead of a pretty error message in some cases. I was able to catch at least
one instance just now, and realized it only happens with
--file-watch
.Steps to reproduce
Example project:
stack.yaml and package.yaml
Expected
This is what you get without
--file-watch
,I should see the same.
Actual
This is what I see with
--file-watch
Stack version
Method of installation
Platform
Arch Linux
The text was updated successfully, but these errors were encountered: