Solidity + HardHat extension possible issue #2430
ghost
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I hope I will help somebody with this discussion.

If you have this kind of error in your vscode and your contracts do not get formatted and linting is not working here's a gist, try running
hh compile
and see if anything crashes. Hardhat plugin executes your hardhat.config.ts in order to work, so if it's not executed properly, your plugin won't work correctly. In my case I didn't usedotenv
and ran. ./.env
every time I executed a project, however plugin doesn't have any access to.env
hence it didn't work appropriately.Beta Was this translation helpful? Give feedback.
All reactions