Skip to content
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

Cannot be imported at compile time #166

Closed
mimitc123 opened this issue Dec 4, 2017 · 1 comment
Closed

Cannot be imported at compile time #166

mimitc123 opened this issue Dec 4, 2017 · 1 comment

Comments

@mimitc123
Copy link

ERROR:
C:\Users\ThinkPad\Desktop>solcjs a.sol --bin --abi --optimize -o
a.sol:7:1: ParserError: Source "github.com/Arachnid/solidity-stringutils/strings.sol" not found: File not supplied initially.
import "github.com/Arachnid/solidity-stringutils/strings.sol";

How to solve?

@axic
Copy link
Member

axic commented Dec 4, 2017

This is a missing feature (tracked in #114). You can place the sources locally and replace the github link with a filename. Alternatively I suggest to use https://remix.ethereum.org which supports github imports.

@axic axic closed this as completed Dec 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants