Closed bvdaniel closed 1 year ago
Run:
yarn add hardhat-deploy-ethers
Or
npm i hardhat-deploy-ethers
And make sure you have require("hardhat-deploy")
in your hardhat.config.js
Run:
yarn add hardhat-deploy-ethers
Or
npm i hardhat-deploy-ethers
And make sure you have
require("hardhat-deploy")
in yourhardhat.config.js
those things that you recommended, @PatrickAlphaC, did not work for me. Instead, I have added
require("@nomiclabs/hardhat-ethers")
manually into my hardhat.config.js
. It worked.
Solution link: https://ethereum.stackexchange.com/questions/130125/solvedpatrickcollins-solidity-course-2022-lesson-7-112038-typeerror-e
Just for your info.
Thanks
Hi, on timestamp 11:17:00, when Patrick is testing Hardhat FundMe I'm finding this error:
And the file FundMe.test.js looks like this:
VSCode suggest: "Property 'getContract' may not exist on type 'typeof import". Did you mean 'getContractAt'?
But getContractAt seems to do something else.