When I run npx hardhat compile on my powershell,
PS C:\Users\Administrator\chainbattles> npx hardhat compile
npm WARN config global --global
, --local
are deprecated. Use --location=global
instead.
Solidity 0.8.10 is not fully supported yet. You can still use Hardhat, but some features, like stack traces, might not work correctly.
Learn more at https://hardhat.org/hardhat-runner/docs/reference/solidity-support
Error HH404: File @openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol, imported from contracts/chainbattles.sol, not found.
Does anyone know how to fix it?
Thanks, waiting for your help.