I am completely new to Erlang, apart from reading the odd book and website on syntax and basic structure. I decided to throw myself into it a bit and create a simple web server using cowboy. Every time I try to run the application I receive
{"init terminating in do_boot",{undef,[{application,ensure_all_started,[dayamo_app],[]},{init,start_it,1,[]},{init,start_em,1,[]}]}}
As far as I am aware, having Google for the answer, this is stating that ensure_all_started
is not defined on application
and therefore throwing a fit. This is where I get stumped. Could anybody take a look at my very small codebase in case there is anything really obvious I am doing wrong.
I have created a simple makefile which will install dependencies, compile and run the application. You simply run make && make run
As in the comments above this was resolved by updating the version of Erlang OTP.