Skip to content

i cant find node modules or any configuration files after using yarn hardhat #1901

Answered by angelDova
ippy1997 asked this question in Q&A
Discussion options

You must be logged in to vote

You may have either a package.json in a parent directory, or a hardhat.config.js already in a parent directory (or both).

To fix, run:

yarn hardhat --verbose
and this will tell you where your package.json/hardhat config is.

delete them, and then run:

yarn add --dev hardhat
yarn hardhat

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@ippy1997
Comment options

@ippy1997
Comment options

@krakxn
Comment options

@ippy1997
Comment options

@krakxn
Comment options

Comment options

You must be logged in to vote
1 reply
@ippy1997
Comment options

Answer selected by ippy1997
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants