Skip to content

Compilation error at mix server #79

Description

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions