Open Riqit opened 2 years ago
Hi, i have the same issue, any chance you figured it out yet, been stuck for two days now and i really want to move on with the course
you are supposed to type brownie run scripts\deploy.py --network ganache-local
you might also have to do brownie compile because fundme.sol got changed with function getEntranceFee
last but not least check for brownie-config.yaml for typos and incorrect indentations i wasted few days cos of those in there
also remember to do ctrl+s often good luck
You are awesome @mebedel I hope this works for @Riqit and @volvicwater, please let us know ;)
I had this problem too, and can confirm it was an issue with the indentations in my brownie-config.yaml
Thankyou very much @mebedel
hey guys i'm having same issue and i did all you guys suggested and nothing has changed.
Hello @andremiracle could you please provide us more info about the problem, may be screenshots of your code or your brownie-config file would help.
I've fixed the issue, it was from my yaml file. thanks for your assistance
@andremiracle I am having the same issue; what was your change or course in brownie-config.yaml file?
Hey there, I am about 5h and 44 minutes in and I ran into an error. When I try to run my deploy.py, I get a TypeError. I think it has to do something with the brownie-config.yaml but I sadly have no idea. If I just compile it, everything works. This is how it looks like:
Compiling contracts... Solc version: 0.6.6 Optimizer: Enabled Runs: 200 EVM Version: Istanbul
Generating build data...
MockV3Aggregator
File "C:\Users\Yannis\AppData\Local\Programs\Python\Python310\lib\site-packages\brownie_cli__main__.py", line 66, in main importlib.import_module(f"brownie._cli.{cmd}").main() File "C:\Users\Yannis\AppData\Local\Programs\Python\Python310\lib\site-packages\brownie_cli\run.py", line 41, in main active_project.load_config() File "C:\Users\Yannis\AppData\Local\Programs\Python\Python310\lib\site-packages\brownie\project\main.py", line 452, in load_config
_load_project_config(self._path) File "C:\Users\Yannis\AppData\Local\Programs\Python\Python310\lib\site-packages\brownie_config.py", line 222, in _load_project_config and "cmd_settings" in values TypeError: argument of type 'NoneType' is not iterable