-
Getting this error for brownie test
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
Hello @avikat |
Beta Was this translation helpful? Give feedback.
-
Hey there I get also the same error |
Beta Was this translation helpful? Give feedback.
-
I've got the same problem.
After I did some research in this discussion forum, I tried reinstall ganache-cli as follows. uninstall ganache-cli
reinstall ganache-cli
test again And it worked.
There are node_modules/ and package-lock.json appear on brownie_fund_me project path. |
Beta Was this translation helpful? Give feedback.
-
Thank you so much. There are best people here in this Community. I will also try to help others |
Beta Was this translation helpful? Give feedback.
I've got the same problem.
AttributeError:
'NoneType' object has no attribute '_with_attr'After I did some research in this discussion forum, I tried reinstall ganache-cli as follows.
uninstall ganache-cli
reinstall ganache-cli
test again
brownie test -k test_only_owner_can_withdraw
And it worked.
FAILED tests/test_fund_me.py::test_only_owner_can_withdraw - brownie.exceptions.VirtualMachineError: revert
There are node_modules/ and package-lock.json appear on brownie_fund_me project path.