Code to reproduce
Im having problems tryng to import erc165 protocol on remix says like isnt installed and i have installed it many times
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC165/ERC165.sol";
contract MyContract is ERC165 {
bytes4 private constant _INTERFACE_ID_MY_INTERFACE = 0x12345678;
constructor() {
_registerInterface(_INTERFACE_ID_MY_INTERFACE);
}
function supportsMyInterface() external view returns (bool) {
return supportsInterface(_INTERFACE_ID_MY_INTERFACE);
}
}
there when i write the code the licens appears with a red underlines and when i compile says:
Error: not found @openzeppelin/contracts/token/ERC165/ERC165.sol
i cant fix it i try to use chatgp advices instaling node all contract libraries but nothing and in the contract files i cant find the erc165 protocol i find all the others but that one isnt
Environment
im using remix 0.8 and obove but can find the problem..