Closed emilrueh closed 1 year ago
Now after struggling with it for more than an hour and reading through multiple records of similar issues with nothing working it seems to have fixed itself / been an issue with VSC not updating itself.
How it was fixed:
brownie compile
I am running into an issue in Lesson 7 when importing Ownable.sol from OpenZeppelin. It seems to be the same issue as described and resolved in the topic #133 but none of the fixes have worked for me.
The error I get:
Source "@openzeppelin/contracts/access/Ownable.sol" not found: File import callback not supported
I have:
(the price feed import from chainlink is working fine)
What other options do I have to debug this import issue?
My
Lottery.sol
file: (only the imports and skipping the rest)My
brownie-config.yaml
file: (only the dependencies)EDIT: The file compiles when running
brownie compile
but still shows the error in the editor.The terminal log after running compile: (skipping massive list of downloads)