'npx hardhat wont configure inside my 'react-folder'

  1. Install the react repo with
npx create-react-app react-dapp 

and then confirm with (y)

  1. Jump into your newly created directory using the list of functions react provides for you above.
cd react-dapp

and grab the list of the packages inside.

  1. Then you will need to install your dependencies. This includes Hardhat which will quickly create your dependencies
npm install ethers hardhat @nomiclabs/hardhat-waffle ethereum-waffle chai @nomiclabs/hardhat-ethers

great! But whenever I run

npx hardhat --config

I'm getting this instead. Error HH306: Missing task argument --config

And whenever I run npx hardhat, I get the help menu with global tasks and available tasks, but not the Hardhat menu.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source