etheratom icon indicating copy to clipboard operation
etheratom copied to clipboard

Unable to import files on Windows 10

Open fabricus opened this issue 7 years ago • 0 comments

Windows import are buggy, that code is working on Mac or Linux but not on Windows:

import "./mycontract.sol";

On windows it's looking for the file directly at the root of the hard drive so it's looking in:

c:\mycontract.sol

And obiously my files aren't there. Another subsequent issue is that it's not working even if I use the full path to the file which would be something like this in my case:

import "C:\Users\USERNAME\Documents\GitHub\testnet\token\ERC721\ERC721MetadataMintable.sol";

It goes like "Invalid input source specified" (below the compile buton):

bug

fabricus avatar Feb 24 '19 18:02 fabricus