meddle0x53 / echo Goto Github PK
View Code? Open in Web Editor NEWOTP example with LFE : Echo
OTP example with LFE : Echo
It seems mix_lfe doesn't work with the latest version of either Elixir or LFE.
I have installed the
> elixir --version
Erlang/OTP 26 [erts-14.2.5] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1] [jit] [dtrace]
> mix archive.install ./mix_lfe_new-0.2.0.ez
warning: use Mix.Config is deprecated. Use the Config module instead
config/config.exs:3
Found existing entry: /Users/simonelnahas/.mix/archives/mix_lfe_new-0.2.0
Are you sure you want to replace it with "./mix_lfe_new-0.2.0.ez"? [Yn] y
* creating /Users/simonelnahas/.mix/archives/mix_lfe_new-0.2.0
> mix lfe.setup
warning: use Mix.Config is deprecated. Use the Config module instead
config/config.exs:3
warning: use Mix.Config is deprecated. Use the Config module instead
config/config.exs:3
Resolving Hex dependencies...
Resolution completed in 0.01s
Unchanged:
erlang_color 1.0.0
lfe 1.2.0
ltest 0.10.0-rc6
lutil 0.10.0-rc6
mix_lfe 0.2.0-rc3
All dependencies are up to date
warning: use Mix.Config is deprecated. Use the Config module instead
config/config.exs:3
* creating /Users/simonelnahas/.mix/elixir/1-15/rebar3
===> Verifying dependencies...
===> Analyzing applications...
===> Compiling lfe
2024-05-15 13:06:19.007591 crash_report
initial_call: {supervisor_bridge,user_sup,['Argument__1']}
pid: <0.64.0>
registered_name: []
error_info: {error,undef,[{user,start,[],[]},{lfe_init,start,0,[{file,"/Users/simonelnahas/Documents/Developer/echo/deps/lfe/src/lfe_init.erl"},{line,43}]},{user_sup,start_user,3,[{file,"user_sup.erl"},{line,102}]},{user_sup,init,1,[{file,"user_sup.erl"},{line,51}]},{supervisor_bridge,init,1,[{file,"supervisor_bridge.erl"},{line,87}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,980}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,935}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,241}]}]}
ancestors: [kernel_sup,<0.47.0>]
message_queue_len: 0
messages: []
links: [<0.49.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 987
stack_size: 28
reductions: 357
=SUPERVISOR REPORT==== 15-May-2024::13:06:19.007618 ===
supervisor: {local,kernel_sup}
errorContext: start_error
reason: {undef,
[{user,start,[],[]},
{lfe_init,start,0,
[{file,
"/Users/simonelnahas/Documents/Developer/echo/deps/lfe/src/lfe_init.erl"},
{line,43}]},
{user_sup,start_user,3,[{file,"user_sup.erl"},{line,102}]},
{user_sup,init,1,[{file,"user_sup.erl"},{line,51}]},
{supervisor_bridge,init,1,
[{file,"supervisor_bridge.erl"},{line,87}]},
{gen_server,init_it,2,[{file,"gen_server.erl"},{line,980}]},
{gen_server,init_it,6,[{file,"gen_server.erl"},{line,935}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,241}]}]}
offender: [{pid,undefined},
{id,user},
{mfargs,{user_sup,start,[]}},
{restart_type,temporary},
{significant,false},
{shutdown,2000},
{child_type,supervisor}]
2024-05-15 13:06:19.008243 crash_report
initial_call: {application_master,init,['Argument__1','Argument__2','Argument__3','Argument__4']}
pid: <0.46.0>
registered_name: []
error_info: {exit,{{shutdown,{failed_to_start_child,user,{undef,[{user,start,[],[]},{lfe_init,start,0,[{file,"/Users/simonelnahas/Documents/Developer/echo/deps/lfe/src/lfe_init.erl"},{line,43}]},{user_sup,start_user,3,[{file,"user_sup.erl"},{line,102}]},{user_sup,init,1,[{file,"user_sup.erl"},{line,51}]},{supervisor_bridge,init,1,[{file,"supervisor_bridge.erl"},{line,87}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,980}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,935}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,241}]}]}}},{kernel,start,[normal,[]]}},[{application_master,init,4,[{file,"application_master.erl"},{line,142}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,241}]}]}
ancestors: [<0.45.0>]
message_queue_len: 1
messages: [{'EXIT',<0.47.0>,normal}]
links: [<0.45.0>,<0.44.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 1598
stack_size: 28
reductions: 213
2024-05-15 13:06:19.008203 Error in process ~p with exit value:~n~p~n
<0.65.0>
{badarg,[{erlang,send,[code_server,{code_call,<0.65.0>,{load_module,#Ref<0.2217597043.2115895305.214783>,logger_formatter,"/opt/homebrew/Cellar/erlang/26.2.5/lib/erlang/lib/kernel-9.2.4/ebin/logger_formatter.beam",false,#Ref<0.2217597043.2115764233.214782>}}],[{error_info,#{module=>erl_erts_errors}}]},{code_server,call,1,[{file,"code_server.erl"},{line,150}]},{error_handler,undefined_function,3,[{file,"error_handler.erl"},{line,40}]},{logger_simple_h,'-do_log/2-fun-0-',1,[{file,"logger_simple_h.erl"},{line,154}]}]}
2024-05-15 13:06:19.008305 std_info
application: kernel
exited: {{shutdown,{failed_to_start_child,user,{undef,[{user,start,[],[]},{lfe_init,start,0,[{file,"/Users/simonelnahas/Documents/Developer/echo/deps/lfe/src/lfe_init.erl"},{line,43}]},{user_sup,start_user,3,[{file,"user_sup.erl"},{line,102}]},{user_sup,init,1,[{file,"user_sup.erl"},{line,51}]},{supervisor_bridge,init,1,[{file,"supervisor_bridge.erl"},{line,87}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,980}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,935}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,241}]}]}}},{kernel,start,[normal,[]]}}
type: permanent
Kernel pid terminated (application_controller) ("{application_start_failure,kernel,{{shutdown,{failed_to_start_child,user,{undef,[{user,start,[],[]},{lfe_init,start,0,[{file,\"/Users/simonelnahas/Documents/Developer/echo/deps/lfe/src/lfe_init.erl\"},{line,43}]},{user_sup,start_user,3,[{file,\"user_sup.erl\"},{line,102}]},{user_sup,init,1,[{file,\"user_sup.erl\"},{line,51}]},{supervisor_bridge,init,1,[{file,\"supervisor_bridge.erl\"},{line,87}]},{gen_server,init_it,2,[{file,\"gen_server.erl\"},{line,980}]},{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,935}]},{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,241}]}]}}},{kernel,start,[normal,[]]}}}")
Crash dump is being written to: erl_crash.dump...done
===> Hook for app_compile failed!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.