Open nick1udwig opened 4 weeks ago
$ curl -L https://foundry.paradigm.xyz | bash
Installing foundryup...
warning: libusb not found. You may need to install it manually on MacOS via Homebrew (brew install libusb).
Detected your preferred shell is bash and added foundryup to PATH.
Run 'source /Users/nick/.bashrc' or start a new terminal session to use foundryup.
Then, simply run 'foundryup' to install Foundry.
exit code 0
So probably we need to:
libusb
brew
: need to check for existence of brew
Related to 5, we need to figure out how we can get it to run either
.output()
and it will inherit stdin/stdoutEven after brew install libusb
, running the curl
command still wants input from the user.
Even after
brew install libusb
, running thecurl
command still wants input from the user.
Probably all we need to do here is to run a command where we source and then run foundryup as suggested in the text
Even after
brew install libusb
, running thecurl
command still wants input from the user.Probably all we need to do here is to run a command where we source and then run foundryup as suggested in the text
only in the case where we check for libusb and it doesn't exist?
You should brew uninstall libusb
and uninstall foundry and try out the flow to understand it yourself. The goal here is that we figure out all the deps the user is missing, then prompt them "install [Y/n]", then we get them and set up their system properly.
If its not possible, we need to print some very helpful messages. E.g. for python its not possible.
Describe the bug
Instead of installing
foundry
as expected,install_foundry()
seems to do nothing.As a result, machines without
foundry
installed cannot properly run fake nodes since the deps are not fetched.To Reproduce On a machine without
foundry
:and then say
Y
to install `foundry.Expected behavior It should install
foundry
.