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

With truffle.js not compiling #3

Open
scientistnik opened this issue Feb 20, 2018 · 3 comments
Open

With truffle.js not compiling #3

scientistnik opened this issue Feb 20, 2018 · 3 comments

Comments

@scientistnik
Copy link

All work fine, but if create file touch truffle.js contracts not compiling: SyntaxError: Error parsing
It don't know interface!

But if delete truffle.js it write interfaces is not a valid file. Skipping.

@RyanHendricks
Copy link
Owner

Is interface the name of a contract? Also, the compiler used here is solc but try with different solidity files in the contracts directory.

@scientistnik
Copy link
Author

No, interface NameInterface {} - it is Solidity code!

When I run doxity build without truffle.js-file, doxity skipping some file. But when I create truffle.js-file, doxity crash on this files with error parsing.

@RyanHendricks
Copy link
Owner

This most likely stems from an issue still present from the original project which is essentially caused by the compiler version not supporting interface contracts.

I will see if I can't implement a fix or workaround but it most likely won't be in the immediate future unfortunately. If you do manage to fix it yourself in the meantime I would super thankful if you could submit a PR but otherwise I will leave this open for now as a todo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants