question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error about compiler version

See original GitHub issue

Hi!

I just want to use the latest version of the compiler, so I set the setting "solidity.compileUsingRemoteVersion" to "true", but I still have this error in all the @openzeppelin’s files :

Source file requires different compiler version (current compiler is 0.6.4+commit.1dca32f3.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version

What can I do to fix that ? Thanks!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
juanfranblancocommented, Apr 22, 2020

@wighawag apologies I have just seen this, there is a setting to stop using the node_modules

Edit: This is the setting: https://github.com/juanfranblanco/vscode-solidity/blob/master/package.json#L102

0reactions
wighawagcommented, Apr 22, 2020

Cool thanks, I ll use that now

Read more comments on GitHub >

github_iconTop Results From Across the Web

Compiler Warnings by compiler version | Microsoft Learn
Table of Microsoft C/C++ compiler warnings by compiler version. ... This option only suppresses warnings, not new error messages.
Read more >
CMake Error: mismatch for the compiler version between your ...
This error is good, it is protecting you from changing compiler version and not realizing binaries will be different.
Read more >
[bug] ERROR: compiler.version setting required for vcvars not ...
I try to build libx264 in windows. I made it as a requirement of my project. But when I run conan install ,...
Read more >
Compiler Version Error - Code Composer Studio forum - TI E2E
I am trying to import an existing CCS project into CCS 5.2 but am unable to build the project due to a compiler...
Read more >
Troubleshoot Compiler Issues - MATLAB & Simulink
Error is present in the compiler configuration. Make sure that MATLAB ® supports the compiler and version that you want to use. For...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found