Skip to content

npx builder node doesn't work #11

@EhsanParsania

Description

@EhsanParsania

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`

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions