Working tests failing with "[FAIL. Reason: Invalid data] setUp()" on Windows #4379
Unanswered
IaroslavMazur
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For a newly-installed Foundry project with running tests (confirmed on the other machines), I cannot make the test run successfully: they fail during the setUp() execution, with
[FAIL. Reason: Invalid data] setUp()
.I'm currently running
forge 0.2.0 (cb925b1 2022-11-21T16:24:05.0674358Z)
on Windows 11.The general advice for this issue both in this group and inside the Foundry Discussions on GitHub is to update Foundry. However, when I try doing this (by building from source via

cargo install --git https://github.com/foundry-rs/foundry foundry-cli anvil chisel --bins --locked
), I keep getting the following error:What's wrong and how can I fix this?
Beta Was this translation helpful? Give feedback.
All reactions