Foundry – Resolving ZOE Error When Running Forge in Foundry

forgefoundry

enter image description here

I'm working with foundry. Forge seems to be installed but I get ZOE ERROR whenever I run it. Any idea why?

Best Answer

There is a conflict between forge as a package with ubuntu. When you run which forge in the terminal you get /usr/bin/forge which is not actually what we need. Instead, if you want to use forge /.foundry/bin/forge --version should definitely work.

Inorder to resolve the issue what you can do is add alias forge='~/.foundry/bin/forge' in your ~/.bashrc file

Related Topic