I was following the OpenZepellin doc on developing smart contracts and after installing truffle (in my current working directory) with command
npx truffle init
I then tried installing the OpenZeppelin contracts library (also in my current working directory) with command
npm install --save-dev @openzeppelin/contracts
it seemed like it worked, but then when I try importing the Ownable contract in my contracts folder in VSCode, with the command
i get this
Source "@openzeppelin/contracts/access/Ownable.sol" not found: File import callback not supported
Thing is, I can’t even see a folder showing the several solidity files for the OpenZeppelin contracts library in my folder, so I’m not even sure where it was installed.
Any idea what I might have done wrong?