Windows users have reported issues when using Windows clients.
The error shows up when using the command
[email protected] build
rm -rf artifacts && npx hardhat compile
Error: “The command “rm” ist wrong”
If you encounter the same problem, please change rm
to del
now in my package.json
file for Scripts/build
(Because windows user are using using vs code on windows machine). After that please installed hardhat via: npm i hardhat --ignore scripts
and then run npm run build
→ After that should work correctly.