Hi, I'm following the Developing Smart Contracts "Learn" tutorial, using VSC, and all works fine but I can't seem to resolve a "problem" reported by VSC in connection with a line of code that imports "@openzeppelin/contracts/access/Ownable.sol".
VSC identifies the problem as "Source '@openzeppelin/contracts/access/Ownable.sol' not found: File import callback not supported".
Does anyone know why I get this "problem" and how to resolve it? Those @openzeppelin/contracts/access .sol files are all in my Learn directory, so why is VSC reporting otherwise?
I'm using Truffle.
I've already tried switching the default workspace compiler and modifying the package.json file in the juanblanco.solidity extension but neither change resolves anything.
If you have installed the dependency by npm install @openzeppelin/contracts, then check if this file does exist in node_modules/@openzeppelin/contracts/access/Ownable.sol, and then try to compile your contract in the terminal. If all pass, maybe there is something wrong with the VSC config rather than the project.