Install
hardhat
to the local project directory:
npm install --save-dev hardhat
And run again