elixirscript / elixirscript/todo-elixirscript

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

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Elixir
Stars
48
Forks
8
PR merge metrics
No merged PRs in 30d

Description

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)```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.