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

Compilation error at mix server #79

Open
ghost opened this issue Sep 22, 2015 · 6 comments
Open

Compilation error at mix server #79

ghost opened this issue Sep 22, 2015 · 6 comments

Comments

@ghost
Copy link

ghost commented Sep 22, 2015

I'm running Sugar 0.4.8

deps/templates/lib/sugar/templates/engines/eex.ex:13: warning: variable assigns is unused
** (CompileError) deps/templates/lib/sugar/templates/engines/eex.ex:13: cannot define module :"Elixir.Sugar.Templates.CompiledTemplates.EEx.index.html.eex" because it is currently being defined in deps/templates/lib/sugar/templates/engines/eex.ex:13
    (templates) lib/sugar/templates/engines/eex.ex:20: Sugar.Templates.Engines.EEx.compile/1
    (sugar) lib/mix/tasks/compile/sugar.ex:62: anonymous fn/2 in Mix.Tasks.Compile.Sugar.do_compile/1
    (elixir) lib/enum.ex:977: anonymous fn/3 in Enum.map/2
    (elixir) lib/enum.ex:1261: Enum."-reduce/3-lists^foldl/2-0-"/3

And yes, the error looks very weird.

@slogsdon
Copy link
Member

Thanks for the report!

That library has caused more problems than it's worth. It may be time to re-write it 😦

@ghost
Copy link
Author

ghost commented Oct 23, 2015

0.4.9 fixed the issue :)

@ghost ghost closed this as completed Oct 23, 2015
@slogsdon
Copy link
Member

oh yay! unintended side effect for the win!

@ghost ghost reopened this Oct 23, 2015
@ghost
Copy link
Author

ghost commented Oct 23, 2015

Oh well apparently it's back again :D
I had to rm views/main/index.html.eex.

@slogsdon
Copy link
Member

:(

@jcoleman-techempower
Copy link

Any plans to keep this project maintained?

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