'i tried to add project in hardhat by npx hardhat and it comes out with the error

I was trying to create a project with the npx hardhat and npm error comes out stating could not determine executable to run... what do you suggest to do-like how can i run npx hardhat command and create my project successfully



Solution 1:[1]

maybe you have a typo. Try:

npx hardhat --version

Sources

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

Source: Stack Overflow

Solution Source
Solution 1 Bri4n