Starting Sync (Automatic Code Compiler / Reloader)
Scanning source files...
sync
crypto
ranch
cowboy
Starting Cowboy Server 8000
nitrogen_elements_examples
It stops here then when I go to localhost:8000 the errors below show up:
=INFO REPORT==== 31-Oct-2015::21:55:12 ===
{error,error,undef,
[{sbw,post_param,
[<<"pageContext">>,
{simple_bridge_request_wrapper,cowboy_request_bridge,
{cowboy_bridge,#Ref<0.0.0.1890>},
false,[],[],none}],
[]},
{wf_core,deserialize_request_context,0,
[{file,"src/wf_core.erl"},{line,146}]},
{wf_core,run_catched,0,[{file,"src/wf_core.erl"},{line,82}]},
{wf_core,run,0,[{file,"src/wf_core.erl"},{line,23}]},
{nitrogen_cowboy,handle,2,[{file,"src/nitrogen_cowboy.erl"},{line,22}]},
{cowboy_handler,handler_handle,4,
[{file,"src/cowboy_handler.erl"},{line,119}]},
{cowboy_protocol,execute,4,
[{file,"src/cowboy_protocol.erl"},{line,523}]}]}
=INFO REPORT==== 31-Oct-2015::21:55:12 ===
{error,error,undef,
[{simple_bridge_request_wrapper,set_status_code,
[500,
{simple_bridge_request_wrapper,cowboy_request_bridge,
{cowboy_bridge,#Ref<0.0.0.1890>},
false,[],[],none}],
[]},
{wf_context,status_code,1,[{file,"src/lib/wf_context.erl"},{line,190}]},
{wf,status_code,1,[{file,"src/wf.erl"},{line,272}]},
{default_crash_handler,first_request,5,
[{file,"src/handlers/crash/default_crash_handler.erl"},{line,19}]},
{wf_core,run_crashed_first_request,3,
[{file,"src/wf_core.erl"},{line,206}]},
{wf_core,run_crash,4,[{file,"src/wf_core.erl"},{line,44}]},
{nitrogen_cowboy,handle,2,[{file,"src/nitrogen_cowboy.erl"},{line,22}]},
{cowboy_handler,handler_handle,4,
[{file,"src/cowboy_handler.erl"},{line,119}]}]}
=ERROR REPORT==== 31-Oct-2015::21:55:12 ===
** Cowboy handler nitrogen_cowboy terminating in handle/2
for the reason error:undef
** Handler state was {state,undefined,undefined}
** Request was [{socket,#Port<0.1857>},
{transport,ranch_tcp},
{connection,keepalive},
{pid,<0.231.0>},
{method,<<"GET">>},
{version,'HTTP/1.1'},
{peer,{{127,0,0,1},58165}},
{host,<<"localhost">>},
{host_info,undefined},
{port,8000},
{path,<<"/">>},
{path_info,undefined},
{qs,<<>>},
{qs_vals,undefined},
{bindings,[]},
{headers,[{<<"host">>,<<"localhost:8000">>},
{<<"accept">>,
<<"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8">>},
{<<"accept-language">>,<<"en-us">>},
{<<"connection">>,<<"keep-alive">>},
{<<"accept-encoding">>,<<"gzip, deflate">>},
{<<"user-agent">>,
<<"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/601.2.7 (KHTML, like Gecko) Version/9.0.1 Safari/601.2.7">>}]},
{p_headers,[{<<"connection">>,[<<"keep-alive">>]}]},
{cookies,undefined},
{meta,[]},
{body_state,waiting},
{multipart,undefined},
{buffer,<<>>},
{resp_compress,false},
{resp_state,waiting},
{resp_headers,[]},
{resp_body,<<>>},
{onresponse,undefined}]
** Stacktrace: [{sbw,set_status_code,
[500,
{simple_bridge_request_wrapper,cowboy_request_bridge,
{cowboy_bridge,#Ref<0.0.0.1890>},
false,[],[],none}],
[]},
{wf_core,run_crash,4,[{file,"src/wf_core.erl"},{line,52}]},
{nitrogen_cowboy,handle,2,
[{file,"src/nitrogen_cowboy.erl"},{line,22}]},
{cowboy_handler,handler_handle,4,
[{file,"src/cowboy_handler.erl"},{line,119}]},
{cowboy_protocol,execute,4,
[{file,"src/cowboy_protocol.erl"},{line,523}]}]