0xKitsune / Foundry-Vyper

A Foundry template to compile and test Vyper contracts.
173 stars 29 forks source link

Getting ` Reason: Setup failed: Failed to execute command: No such file or directory (os error 2)` #2

Open steven4354 opened 2 years ago

steven4354 commented 2 years ago

Hi is anyone else getting this issue?

I tried debugging it but no luck

Screen Shot 2022-09-11 at 2 04 55 PM

I cloned this repo directly and try to run forge test and forge test --ffi but was unable to get the tests to run

0xKitsune commented 2 years ago

I was able to replicate this. I am not sure what is causing this since nothing has been updated in the repo within the past few months. I'll take a closer look and push a patch.

nazariyv commented 1 year ago

This just happened to me because I did not have vyper binary installed. If you install vyper, it should resolve itself. This is a misleading error. I tried supplying full path /home/user/.../vyper_contracts into the deployer contract and it was still giving this error. Which implied it must have been something else. Checking that I don't have vyper installed and then installing it, fixed this issue.