Skip to content
This repository was archived by the owner on Mar 19, 2025. It is now read-only.
This repository was archived by the owner on Mar 19, 2025. It is now read-only.

App crashes due to badarg #3

@darrenklein

Description

@darrenklein

Thanks for putting together this repo - however, the app does not run. I set it up following the simple instructions, but when I ran $ mix phoenix.server, I got the following error:

== Compilation error in file web/router.ex ==
** (CompileError) web/router.ex: internal error in core;
crash reason: badarg

  in function  erl_anno:anno_info/1
     called as erl_anno:anno_info(-1)
  in call from erl_anno:line/1 (erl_anno.erl, line 219)
  in call from v3_core:lineno_anno/2 (v3_core.erl, line 2579)
  in call from v3_core:expr/2 (v3_core.erl, line 561)
  in call from v3_core:safe/2 (v3_core.erl, line 1719)
  in call from v3_core:'-safe_list/2-anonymous-0-'/2 (v3_core.erl, line 1734)
  in call from lists:foldr/3 (lists.erl, line 1276)
  in call from v3_core:expr/2 (v3_core.erl, line 691)
  in call from v3_core:safe/2 (v3_core.erl, line 1719)
  in call from v3_core:'-safe_list/2-anonymous-0-'/2 (v3_core.erl, line 1734)
  in call from lists:foldr/3 (lists.erl, line 1276)
  in call from v3_core:expr/2 (v3_core.erl, line 691)
  in call from v3_core:exprs/2 (v3_core.erl, line 549)
  in call from v3_core:expr/2 (v3_core.erl, line 597)
  in call from v3_core:safe/2 (v3_core.erl, line 1719)
  in call from v3_core:expr/2 (v3_core.erl, line 565)
  in call from v3_core:exprs/2 (v3_core.erl, line 549)
  in call from v3_core:exprs/2 (v3_core.erl, line 550)
  in call from v3_core:expr/2 (v3_core.erl, line 597)
  in call from v3_core:exprs/2 (v3_core.erl, line 549)
    (stdlib) lists.erl:1338: :lists.foreach/2
    (phoenix) expanding macro: Phoenix.Router.__before_compile__/1
    web/router.ex:1: ReactPhxStdio.Router (module)
    (elixir) lib/kernel/parallel_compiler.ex:121: anonymous fn/4 in 
Kernel.ParallelCompiler.spawn_compilers/1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions