PatrickAlphaC / web3_py_simple_storage

47 stars 78 forks source link

Running Brownie Scripts not working ganache-cli error #24

Closed kjones86 closed 2 years ago

kjones86 commented 2 years ago

Anyone else having trouble running brownie run scripts/deploy.py and then receiving a message in the terminal stating FileNotFoundError for ganache-cli? I have upgraded ganache, uninstall and reinstall and ganache-cli is still not found. However, when I runnpx ganache-cli and npm ganache-cli the versions are there. I'm not sure how to resolve the error.

Screen Shot 2022-02-15 at 11 30 54 PM
PatrickAlphaC commented 2 years ago

You need to globally install it.

You should be able to run ganache-cli without npx or npm

npm install -g ganache-cli