smartcontract-lottery icon indicating copy to clipboard operation
smartcontract-lottery copied to clipboard

Forking a Mainnet in Brownie is showing `Unable to launch local RPC client` error

Open FaizanNehal opened this issue 2 years ago • 1 comments

while running the command brownie console --network mainnet-fork I am getting the following error:

RPCProcessError: Unable to launch local RPC client. Command: ganache-cli URI: http://127.0.0.1:8545 I have exported my WEB3_INFURA_PROJECT_ID and using the nvm version 16.13.2. Can't seem to figure out a way to fork the mainnet in brownie

FaizanNehal avatar Sep 10 '22 23:09 FaizanNehal

It looks like you might have something running already on port 8545 maybe an old ganache-cli or some other program. If you on mac or linux you can run sudo netstat -tulpn image in my case I just killed pid 3476 since its running on the port 8545 needed. Let me know how it goes

Tatendaz avatar Oct 13 '22 19:10 Tatendaz