Lesson 14 TypeError: ethers.getContract is not a function #4960
-
I was following along the tutorial and getting this error and I decided to just clone the entire repo and I am still getting this error.
What else can I do? Again my code is exactly that of the repo |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
make sure you have require(hardhat-deploy) in your hardhat config file. You might also have to bring ether in your deployment scripts. |
Beta Was this translation helpful? Give feedback.
-
@karlMoreno #4710 should work. Leave your repository link in the case. |
Beta Was this translation helpful? Give feedback.
@karlMoreno #4710 should work. Leave your repository link in the case.