Remix IDE Waring for "Required Compiler Version"

Remix IDE Waring for "Required Compiler Version"

Manage alerts

Loading saved threads...

Yash Madhwal · External communityPost link
External question — Ethereum Stack Exchange Author: Yash Madhwal Original post: https://ethereum.stackexchange.com/questions/95241 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. I am well versed with solidity and often use Remix IDE. Quite recently, despite adding a compiler version in my code. I am still getting this warning Warning: Source file does not specify required compiler version! Consider adding "pragma solidity ^0.6.5;". The code: pragma solidity ^0.6.5;' Contact A{ <Something> } Any guidance, why is this happening? Edit: It works fine in incognito mode.
Quote
Report
paedeveloper · External communityPost link
External answer — Ethereum Stack Exchange Author: paedeveloper Original post: https://ethereum.stackexchange.com/a/104148 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. hope it's not too late to answer this. i had this issue too. apparently it was due to a failure in getting one of the dependencies (think import "";) files which resulted in a blank dependency. when calling that import, it always turns this error. i fixed it by removing my .deps/github folder to resync all the github dependencies (or any other dependencies you have) hope this helps
Quote
Report

Post Reply

Quoted from Forex.com.bd-Editorial External question — Ethereum Stack Exchange Author: Yash Madhwal Source score (net votes, not local likes): 0 Original post: https://ethereum.stackexchange.com/questions/95241 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. I am well versed with solidity and often use Remix IDE. Quite recently, despite adding a compiler version in my code. I am still getting this warning Warning: Source file does not specify required compiler version! Consider adding "pragma solidity ^0.6.5;". The code: pragma solidity ^0.6.5;' Contact A{ <Something> } Any guidance, why is this happening? Edit: It works fine in incognito mode.

Cancel quote

Checking account access…