Can anyone break down how to successfully set up a hardhat project on windows? I keep running into the HH12 error: "Error HH12: Trying to use a non-local installation of Hardhat, which is not supported. Please install Hardhat locally using npm or Yarn, and try again."
My understanding is that it is a Windows problem, but I haven't found any comprehensive instructions to solve this error. I've tried all the solutions I found online, but none work.
Any tips? Thanks!
npm init -y
and then runnpm install --save-dev hardhat