-
Good morning frens, Another project, another issue with imports. Even though I was able to fix all my previous issues, every once in a while when I start a new project, I stumble upon a problem with imports. I have the following code in my file:
The two imports are highlighted in red, and when I try cmd+click, I cannot open the contracts, even though OpenZeppelin contracts were successfully installed. I'm able to find the files manually. I also tried to locate the OpenZeppelin-contracts folder in the terminal, got some advice through AI, and everything seems fine. The project was compiled successfully, but those imports are still red. I'm pretty sure this problem is not a blocker for my course, but i'm interested to know what could be the source of this issue so I can fix it. Thanks in advance for any suggestions/tips/recommendations. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hello @goofylawz, Please close your |
Beta Was this translation helpful? Give feedback.
Hello @goofylawz, Please close your
vscode
and reopen it. Let's see if the imports still have the red underline.