I forked this repo for a dep https://github.com/trenpixster/addict/
I did mix mix dep.get
and tried to run the tests using mix test
and I get the following errors
mix.exs:11
** (CompileError) test/support/router.exs: internal error in v3_core;
crash reason: {case_clause,
{'EXIT',
{badarg,
[{erl_anno,anno_info,[-1],[{file,"erl_anno.erl"},{line,360}]},
{v3_core,record_anno,2,[{file,"v3_core.erl"},{line,2410}]},
{v3_core,expr,2,[{file,"v3_core.erl"},{line,539}]},
{v3_core,safe,2,[{file,"v3_core.erl"},{line,1593}]},
{v3_core,expr,2,[{file,"v3_core.erl"},{line,528}]},
{v3_core,safe,2,[{file,"v3_core.erl"},{line,1593}]},
{v3_core,'-safe_list/2-anonymous-0-',2,
[{file,"v3_core.erl"},{line,1608}]},
{lists,foldr,3,[{file,"lists.erl"},{line,1276}]}]}}}
in function compile:'-select_passes/2-anonymous-2-'/2 (compile.erl, line 536)
in call from compile:'-internal_comp/4-anonymous-1-'/2 (compile.erl, line 321)
in call from compile:fold_comp/3 (compile.erl, line 347)
in call from compile:internal_comp/4 (compile.erl, line 331)
in call from compile:'-do_compile/2-anonymous-0-'/2 (compile.erl, line 179)
(stdlib) lists.erl:1338: :lists.foreach/2
(phoenix) expanding macro: Phoenix.Router.__before_compile__/1
test/support/router.exs:1: TestAddictRouter (module)
mix phoenix.new -v
returns v1.2.1 and
erl -eval 'erlang:display(erlang:system_info(otp_release)), halt().' -noshell
returns 19
any ideas?
Other projects are compiling ok on the same machine…