Error HH404: File @openzeppelin/contracts/utils/Counters.sol, imported from aaa.sol, not found.
Vložit
- čas přidán 17. 10. 2023
- When deploying your solidity smart contract, you might be visited by this error "Error HH404: File @openzeppelin/contracts/utils/Counters.sol, imported from contracts/Minter.sol, not found".
Reason: You are using Openzeppelin version 5.0.0
Solution1
Manually write your counters. e.g.
uint256 counter = counter + 1;
Solution2
Downgrade openzepellin from v5.0.0 to v4.9.3
Really helpful! Thank you for the video :D
Thanks. This is very helpful
so helpful thank you!
thanks man you saved a solidity soul
Thanks a ton!
so many thanks
thanks alot
10th...Thanks