-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Standard JSON compilation cannot find or read files. #2266
Comments
For regular paths, the paths must first be whitelisted via Also |
That got things working, though I had to use absolute paths for everything as I wasn't able to get any form of relative path to work for either the |
Workaround is to provide an absolute path to to some ancestor directory as an
|
The compiler throws an error when trying to compile using the
--standard-json
flag when reading from a file.I've also tried the following formats for the file path just in case I was formatting something a little wrong:
file:///Users/piper/sites/py-solc/tmp/Greeter.sol
file://Users/piper/sites/py-solc/tmp/Greeter.sol
file://tmp/Greeter.sol
file://./tmp/Greeter.sol
tmp/Greeter.sol
/Users/piper/sites/py-solc/tmp/Greeter.sol
Help please
The text was updated successfully, but these errors were encountered: