yarn solcjs --bin --abi --include-path node_modules/ --base-path . -o . SimpleStorage.sol ParserError: Source file requires different compiler versio-bin --abi --include-path node_modules/ --basen (current compiler is 0.8.21+commit.d9974bed.Emscripten.clang) - note that nightly builds are considered to be strictn (current compiler is 0.8.21+commit.d9974bed.ly less than the released version to be strictly less than the released version --> SimpleStorage.sol:3:1: | 3 | pragma solidity 0.8.8;" #5957
Replies: 1 comment 4 replies
-
Hello @Cryptbits You should include your contract solidity version in Example below: module.exports = {
solidity: "0.8.8",
} |
Beta Was this translation helpful? Give feedback.
4 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.
-
I keep getting this error when I try to compile, please what's the latest command to run my code
Beta Was this translation helpful? Give feedback.
All reactions