Closed PatrickAlphaC closed 1 year ago
Did you follow the installation guide in the readme : https://github.com/wighawag/hardhat-deploy-ethers#installation
some plugin like hardhat-waffle have harcoded dependencies on the plugin @nomiclabs/hardhat-ethers
hardhat-deploy-ethers
is a fork of @nomiclabs/hardhat-ethers
and so need to be installed as an alias to play nicely with hardhat-waffle
Ideally hardhat-deploy-ethers
could extends @nomiclabs/hardhat-ethers
and that is the plan but this issue is blocking that feat : https://github.com/nomiclabs/hardhat/issues/1040
Yes.... Might be something with my VSCode... Might try it from scratch to see if maybe I did something funky.
@PatrickAlphaC Hey did you ever figure this out? I'm getting the exact same error
Not sure how I fixed it :/
I ended up redoing everything from scratch and I didn't get the error the second time.
I have recently encountered the same issue in my hardhat project. In my case, the problem was, that I was importing { HardhatUserConfig }
from 'hardhat/type' instead of 'hardhat/config' in the hardhat.config file. Changing
type` to 'config' fixed the issue.
Hope this helps.
hardhat-deploy-ethers@next has been released Please, try it out.
It is now an extension to hardhat-ethers so you need both
But note that that new version do not support external artifact if you were using them
I have the following code:
And Im running into the following linting error:
My hardhat.config.ts looks like:
However, my code runs fine. Is this an error with VSCode or the plugin I'm using?