0mkara / etheratom

Solidity compilation and Ethereum contract execution interface for hackable atom editor
https://atom.io/packages/etheratom
GNU General Public License v3.0
252 stars 41 forks source link

Unable to import files on Windows 10 #259

Open fabricus opened 5 years ago

fabricus commented 5 years ago

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