parse error #610
praizeroman
started this conversation in
General
parse error
#610
Replies: 2 comments
-
@praizeroman Make sure your solidity version is the same as the code you copied from the repo. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is happening because you don't have the If you want to use multiple versions of solidity in a single project, this is how you can do it from const config = {
solidity: {
compilers: [
{ version: '0.8.7' },
{ version: '0.8.8' },
{ version: '0.8.0' },
{ version: '0.6.6' },
{ version: '0.6.0' },
],
},
}; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
from solidity:
ParserError: Source file requires different compiler version (current compiler is 0.8.7+commit.e28d00a7.Emscripten.clang) - note that nightly builds are considered to be strictly less than the released version
--> github/PatrickAlphaC/simple-storage-fcc/SimpleStorage.sol:4:1:
|
4 | pragma solidity 0.8.8;
| ^^^^^^^^^^^^^^^^^^^^^^
got this error trying to compile the code from the GitHub repository
Beta Was this translation helpful? Give feedback.
All reactions