Search code examples
solidityremix

"Invalid input source specified" - Remix Solidity IDE error


I have removed everything from my remix IDE, except the following:

pragma solidity ^0.6.6;

contract daily_unlimited_deFitasy{
}

And yet I am still getting the following error when attempting to compile:

Invalid input source specified

Why am I getting this error?


Solution

  • I found out what was wrong. A user gets this error anytime a file for compilation is missing. The most common way this can come up is if your session expired or your cookies/history has been deleted.

    If this is the case, a simple refresh will solve the error. Be sure to copy the source code in front of you so you can repaste it after the refresh completes.