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

"An error occurred while compiling Enum: Debug info not available" #2

Open
smoes opened this issue Jun 29, 2018 · 0 comments
Open

"An error occurred while compiling Enum: Debug info not available" #2

smoes opened this issue Jun 29, 2018 · 0 comments

Comments

@smoes
Copy link

smoes commented Jun 29, 2018

When trying to get the example running I get a warning, namely:

[warning] Mix compiler :elixir_script was supposed to return :ok | :noop | {:ok | :noop | :error, [diagnostic]} but it returned [%Mix.Task.Compiler.Diagnostic{compiler_name: "elixir_script", details: nil, file: nil, message: "An error occurred while compiling Enum: Debug info not available", position: nil, severity: :error}]

Followed by an error:

ERROR in ./js/app.js
Module not found: Error: Can't resolve './build/Elixir.Todo.Main.js' in '/home/smoes/git/todo-elixirscript/assets/js'
 @ ./js/app.js 22:0-47

What am I doing wrong?

> iex -v
Erlang/OTP 20 [erts-9.3] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe] [kernel-poll:false]

IEx 1.6.4 (compiled with OTP 19)```  
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

1 participant