soliditylabs / ERC20-Permit

Repository for implementing the ERC20 permit (EIP-2612).

Home Page:https://soliditydeveloper.com/erc20-permit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npx builder node doesn't work

EhsanParsania opened this issue · comments

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`

Need to update the repository to Solidity 0.8.