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

rebar3 nova routes is not working #36

Open
Taure opened this issue Jul 24, 2024 · 0 comments
Open

rebar3 nova routes is not working #36

Taure opened this issue Jul 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Taure
Copy link
Contributor

Taure commented Jul 24, 2024

Host: '_' ===> Uncaught error in rebar_core. Run with DIAGNOSTIC=1 to see stacktrace or consult rebar3.crashdump ===> Uncaught error: {case_clause, {nova_handler_value,my_first_nova,undefined, undefined, fun my_first_nova_main_controller:index/1, [],false,undefined}} ===> Stack trace to the error location: [{rebar3_nova_routes,'-format_tree/2-fun-2-',4, [{file,"/home/daniel/project/novablog/my_first_nova/_build/default/plugins/rebar3_nova/src/rebar3_nova_routes.erl"}, {line,93}]}, {lists,foreach_1,2,[{file,"lists.erl"},{line,1686}]}, {rebar3_nova_routes,format_tree,2, [{file,"/home/daniel/project/novablog/my_first_nova/_build/default/plugins/rebar3_nova/src/rebar3_nova_routes.erl"}, {line,92}]}, {rebar3_nova_routes,format_tree,1, [{file,"/home/daniel/project/novablog/my_first_nova/_build/default/plugins/rebar3_nova/src/rebar3_nova_routes.erl"}, {line,54}]}, {rebar3_nova_routes,do,1, [{file,"/home/daniel/project/novablog/my_first_nova/_build/default/plugins/rebar3_nova/src/rebar3_nova_routes.erl"}, {line,35}]}, {rebar_core,do,2, [{file,"/home/runner/work/rebar3/rebar3/apps/rebar/src/rebar_core.erl"}, {line,155}]}, {rebar_prv_do,do_task,5, [{file,"/home/runner/work/rebar3/rebar3/apps/rebar/src/rebar_prv_do.erl"}, {line,87}]}, {rebar_core,do,2, [{file,"/home/runner/work/rebar3/rebar3/apps/rebar/src/rebar_core.erl"}, {line,155}]}]

It looks like rebar3_nova does not like the new format with funs.

@Taure Taure added the bug Something isn't working label Jul 24, 2024
@Taure Taure mentioned this issue Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant