Lesson 7 : Unexpected error when running npx hardhat deploy #1350
-
Hello, On the lesson 7, at the beginning of the hardhat setup, on the part about deploying, I've followed all the instruction specifically about running this command : npm install --save-dev @nomiclabs/hardhat-ethers@npm:hardhat-deploy-ethers ethers it seems to modify correctly the package.json:
So after i've created, in the deploy folder as explain by Patrick, a file named 01-deploy-fund-me.js with this content : function deployFunc() {
console.log("Yo");
}
module.exports.defaut = deployFunc; But when I run npx hardhat deploy, i've got this error :
I really don't know what to do, as I follow the tutorial, try to find answer on differents place, but I can not find the problem. Is anybody can please help me, I'm totally stuck here Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
- import "@nomiclabs/hardhat-waffle";
+ import "@nomicfoundation/hardhat-chai-matchers";
Hope this helps |
Beta Was this translation helpful? Give feedback.
-
@LeNooooooo See the |
Beta Was this translation helpful? Give feedback.
@LeNooooooo See the
01-deploy-fund-me
there is an issue. If you will not be able to find yourself then push the code to GitHub and leave a link here.