Cannot find module 'hardhat-deploy' error #4907
Answered
by
FriedChicken777
FriedChicken777
asked this question in
Q&A
-
Not sure which code or what is causing this issue but getting "Error: Cannot find module 'hardhat-deploy'" when running Can someone please provide some guidance? Let me know if I need to provide anything else.
Here's the package.json
|
Beta Was this translation helpful? Give feedback.
Answered by
FriedChicken777
Mar 6, 2023
Replies: 2 comments 3 replies
-
@FriedChicken777 Run these commands; npm install -D hardhat-deploy npm install --save-dev @nomiclabs/hardhat-ethers@npm:hardhat-deploy-ethers ethers add this in hardhat config file; require('hardhat-deploy'); |
Beta Was this translation helpful? Give feedback.
3 replies
-
I was able to resolve this by adding in hardhat config file. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
FriedChicken777
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was able to resolve this by adding in hardhat config file.
require("@nomiclabs/hardhat-ethers")