Error: Source "@openzeppelin/contracts/token/ERC721/ERC721.sol" not found: File not found. Searched the following locations: "".
Currently, all dependencies from @openzeppelin
are showing errors like this. But those dependencies have been installed in my node_modules
and I don't know why it can't find the file. Is there a way I can set the location, or should I install the @openzeppelin/contracts
globally?
UPDATE:I can see that --base-path
should be set for solc
, but I am still not sure how to apply such setting to slither
.