I'm facing compiling errors due to some problems with the packages installed
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
I'm using Hardhat and I'm trying to import the packages you see here, I already checked if they are present on the folders, and they are, I tried also to reinstall them. Don't know what to do...
Well, you obviously need to share what the problem is...
Right! I'm sorry I forgot to post the error... 
TypeError: Member "toString" not found or not visible after argument-dependent lookup in uint256.
--> contracts/WildDuckToken.sol:47:52:
|
47 | ? string(abi.encodePacked(baseURI, tokenId.toString(), ".json"))
| ^^^^^^^^^^^^^^^^
Error HH600: Compilation failed
This is the error I got, it is due to the fact the package
import "@openzeppelin/contracts/utils/Strings.sol"
It's not imported correctly, at least is what I assumed. So, my question is how to fix this problem.
I'm using Hardhat.
That's got nothing to do with HardHat, as clearly evident by the compilation error, which points to a specific problem in your contract.
You probably need to add this at the top of that contract:
using Strings for uint256;