-
I copied and pasted FundMe.sol from the repository and it says that it needs different compiler version |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 12 replies
-
Try to manually pick the compiler to 0.6.6+….Then press the “Compile FundMe.sol” tab |
Beta Was this translation helpful? Give feedback.
-
Hello, this might happen due to the extension configuration on vscode, try with this options.
|
Beta Was this translation helpful? Give feedback.
-
is that the error in your contract where it has the red underline and and says that error in your screen shot in your console? try picking a different compiler version your extension. |
Beta Was this translation helpful? Give feedback.
-
Hello @cromewar I have tried your suggestion and I've changed the compiler version many times but unfortunately nothing worked now I have these errors: |
Beta Was this translation helpful? Give feedback.
-
@mattjaf @cromewar @propeltrain when I uncheck this box the problems go do you suggest me do always uncheck this box: |
Beta Was this translation helpful? Give feedback.
Hello @cromewar I have tried your suggestion and I've changed the compiler version many times but unfortunately nothing worked now I have these errors:
P.S: I have also restored the
.brownie
and the build folder and I don't have a hardhat vscode extension I only have a solidity extension