PatrickAlphaC / brownie_fund_me

26 stars 64 forks source link

(Mainnet-Fork) RPCProcessError: Unable to launch local RPC client. #16

Closed RishabhSood closed 2 years ago

RishabhSood commented 2 years ago
brownie console --network mainnet-fork

(removed project id for infura project)

INFO: Could not find files for the given pattern(s).
Brownie v1.17.2 - Python development framework for Ethereum

FundMeProject is the active project.

Launching 'ganache-cli.cmd --accounts 10 --hardfork istanbul --fork https://mainnet.infura.io/v3/projectid --gasLimit 12000000 --mnemonic brownie --port 8545 --chainId 1'...
  File "C:\Users\soodr\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\_cli\__main__.py", line 64, in main
    importlib.import_module(f"brownie._cli.{cmd}").main()
  File "C:\Users\soodr\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\_cli\console.py", line 58, in main
    network.connect(CONFIG.argv["network"])
  File "C:\Users\soodr\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\network\main.py", line 50, in connect
    rpc.launch(active["cmd"], **active["cmd_settings"])
  File "C:\Users\soodr\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\network\rpc\__init__.py", line 93, in launch
    raise RPCProcessError(cmd, uri)
RPCProcessError: Unable to launch local RPC client.
Command: ganache-cli
URI: http://127.0.0.1:8545
RishabhSood commented 2 years ago

Updating node version and reinstalling ganache-cli seems to resolve this issue.