marcelog / erws

Erlang Websockets example using Cowboy
47 stars 19 forks source link

Crashing on startup #5

Open quantumproducer opened 7 years ago

quantumproducer commented 7 years ago
make all
make run
rel/erws/bin/erws start
Kernel pid terminated (application_controller) ({application_start_failure,cowboy,{bad_return,{{cowboy_app,start,[normal,[]]},{'EXIT',{undef,[{cowboy_app,start,[normal,[]],[]},{application_master,star

Crash dump is being written to: erl_crash.dump...done
marcelog commented 7 years ago

Did you run rebar get-deps? It seems dependencies are not installed.

quantumproducer commented 7 years ago

yes

:.cd code
~/code:.cd erws
~/code/erws:.rebar get-deps
==> goldrush (get-deps)
==> lager (get-deps)
==> cowlib (get-deps)
==> ranch (get-deps)
==> cowboy (get-deps)
==> erws (get-deps)
~/code/erws:.ls
Makefile    ebin        rebar.config
README      priv        rel
deps        rebar       src
~/code/erws:.rebar all
WARN:  'all' command does not apply to directory /Users/quantum/code/erws
Command 'all' not understood or not applicable
~/code/erws:.make run
rel/erws/bin/erws start
Kernel pid terminated (application_controller) ({application_start_failure,cowboy,{bad_return,{{cowboy_app,start,[normal,[]]},{'EXIT',{undef,[{cowboy_app,start,[normal,[]],[]},{application_master,star

Crash dump is being written to: erl_crash.dump...done
~/code/erws:.