Skip to content

Instantly share code, notes, and snippets.

@lpgauth
Created October 28, 2015 18:29
Show Gist options
  • Save lpgauth/f52d5940ed6ad04b30d7 to your computer and use it in GitHub Desktop.
Save lpgauth/f52d5940ed6ad04b30d7 to your computer and use it in GitHub Desktop.
DEBUG=1 ./rebar3 do eunit -cv, cover -v
===> Uncaught error in rebar_core. Run with DEBUG=1 to see stacktrace
===> Uncaught error: {function_clause,
[{cover,find_main_filename,
[[]],
[{file,"cover.erl"},{line,1612}]},
{cover,transform,2,
[{file,"cover.erl"},{line,1605}]},
{cover,do_compile_beam1,3,
[{file,"cover.erl"},{line,1540}]},
{cover,do_compile_beam,3,
[{file,"cover.erl"},{line,1472}]},
{lists,map,2,
[{file,"lists.erl"},{line,1238}]},
{cover,'-pmap_spawn/4-fun-0-',2,
[{file,"cover.erl"},{line,2721}]}]}
===> Stack trace to the error location: [{cover,call,1,
[{file,"cover.erl"},
{line,585}]},
{rebar_prv_cover,compile,2,
[{file,
"/Users/lpgauth/Git/rebar3/_build/default/lib/rebar/src/rebar_prv_cover.erl"},
{line,295}]},
{rebar_prv_cover,
cover_compile,2,
[{file,
"/Users/lpgauth/Git/rebar3/_build/default/lib/rebar/src/rebar_prv_cover.erl"},
{line,288}]},
{rebar_prv_eunit,compile,2,
[{file,
"/Users/lpgauth/Git/rebar3/_build/default/lib/rebar/src/rebar_prv_eunit.erl"},
{line,127}]},
{rebar_prv_eunit,do,1,
[{file,
"/Users/lpgauth/Git/rebar3/_build/default/lib/rebar/src/rebar_prv_eunit.erl"},
{line,43}]},
{rebar_core,do,2,
[{file,
"/Users/lpgauth/Git/rebar3/_build/default/lib/rebar/src/rebar_core.erl"},
{line,125}]},
{rebar_prv_do,do_tasks,2,
[{file,
"/Users/lpgauth/Git/rebar3/_build/default/lib/rebar/src/rebar_prv_do.erl"},
{line,57}]},
{rebar_core,do,2,
[{file,
"/Users/lpgauth/Git/rebar3/_build/default/lib/rebar/src/rebar_core.erl"},
{line,125}]}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment