Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npx builder node doesn't work #11

Open
EhsanParsania opened this issue Sep 14, 2022 · 1 comment
Open

npx builder node doesn't work #11

EhsanParsania opened this issue Sep 14, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@EhsanParsania
Copy link

build doesn't work with your instruction, it returns error :

`@openzeppelin/contracts/token/ERC20/ERC20.sol:4:1: ParserError: Source file requires different compiler version (current compiler is 0.7.2+commit.51b20bc0.Emscripten.clang) - note that nightly builds are considered to be strictly less than the released version
pragma solidity ^0.8.0;
^---------------------^

@openzeppelin/contracts/token/ERC20/IERC20.sol:4:1: ParserError: Source file requires different compiler version (current compiler is 0.7.2+commit.51b20bc0.Emscripten.clang) - note that nightly builds are considered to be strictly less than the released version
pragma solidity ^0.8.0;
^---------------------^

@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol:4:1: ParserError: Source file requires different compiler version (current compiler is 0.7.2+commit.51b20bc0.Emscripten.clang) - note that nightly builds are considered to be strictly less than the released version
pragma solidity ^0.8.0;
^---------------------^

@openzeppelin/contracts/utils/Context.sol:4:1: ParserError: Source file requires different compiler version (current compiler is 0.7.2+commit.51b20bc0.Emscripten.clang) - note that nightly builds are considered to be strictly less than the released version
pragma solidity ^0.8.0;
^---------------------^

@openzeppelin/contracts/utils/Counters.sol:4:1: ParserError: Source file requires different compiler version (current compiler is 0.7.2+commit.51b20bc0.Emscripten.clang) - note that nightly builds are considered to be strictly less than the released version
pragma solidity ^0.8.0;
^---------------------^

Error BDLR600: Compilation failed`

@gorgos
Copy link
Member

gorgos commented Sep 16, 2022

Need to update the repository to Solidity 0.8.

@gorgos gorgos added the bug Something isn't working label Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants