Created
November 22, 2019 09:33
-
-
Save ZoomQuiet/880670c853ed63b655f2b7246f7c849e to your computer and use it in GitHub Desktop.
in umbrella apps phx.new.web or phx.new all can running
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prototype༽ | |
༄ mix new --umbrella ub_jor | |
* creating README.md | |
* creating .formatter.exs | |
* creating .gitignore | |
* creating mix.exs | |
* creating apps | |
* creating config | |
* creating config/config.exs | |
Your umbrella project was created successfully. | |
Inside your project, you will find an apps/ directory | |
where you can create and host many apps: | |
cd ub_jor | |
cd apps | |
mix new my_app | |
Commands like "mix compile" and "mix test" when executed | |
in the umbrella project root will automatically run | |
for each application in the apps/ directory. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prototype/ub_jor/apps/nn2era༽ | |
༄ mix phx.server | |
=CRASH REPORT==== 22-Nov-2019::17:18:20.811575 === | |
crasher: | |
initial call: Elixir.Logger.Watcher:init/1 | |
pid: <0.200.0> | |
registered_name: [] | |
exception exit: {'EXIT', | |
{undef, | |
[{'Elixir.LoggerFileBackend',init, | |
[{'Elixir.LoggerFileBackend',error_log}], | |
[]}, | |
{gen_event,server_add_handler,4, | |
[{file,"gen_event.erl"},{line,473}]}, | |
{gen_event,handle_msg,6, | |
[{file,"gen_event.erl"},{line,318}]}, | |
{proc_lib,init_p_do_apply,3, | |
[{file,"proc_lib.erl"},{line,249}]}]}} | |
in function gen_server:init_it/6 (gen_server.erl, line 358) | |
ancestors: ['Elixir.Logger.BackendSupervisor', | |
'Elixir.Logger.Supervisor',<0.195.0>] | |
message_queue_len: 0 | |
messages: [] | |
links: [<0.199.0>,<0.197.0>] | |
dictionary: [] | |
trap_exit: true | |
status: running | |
heap_size: 376 | |
stack_size: 27 | |
reductions: 257 | |
neighbours: | |
=SUPERVISOR REPORT==== 22-Nov-2019::17:18:20.840773 === | |
supervisor: {local,'Elixir.Logger.Supervisor'} | |
errorContext: start_error | |
reason: {'EXIT', | |
{#{'__exception__' => true, | |
'__struct__' => 'Elixir.RuntimeError', | |
message => | |
<<"EXIT when installing backend {LoggerFileBackend, :error_log}: an exception was raised:\n ** (UndefinedFunctionError) function LoggerFileBackend.init/1 is undefined (module LoggerFileBackend is not available)\n LoggerFileBackend.init({LoggerFileBackend, :error_log})\n (stdlib) gen_event.erl:473: :gen_event.server_add_handler/4\n (stdlib) gen_event.erl:318: :gen_event.handle_msg/6\n (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3">>}, | |
[{'Elixir.Logger.BackendSupervisor','-start_link/1-fun-0-', | |
2, | |
[{file,"lib/logger/backend_supervisor.ex"},{line,19}]}, | |
{'Elixir.Enum','-reduce/3-lists^foldl/2-0-',3, | |
[{file,"lib/enum.ex"},{line,1948}]}, | |
{'Elixir.Logger.BackendSupervisor',start_link,1, | |
[{file,"lib/logger/backend_supervisor.ex"},{line,13}]}, | |
{supervisor,do_start_child_i,3, | |
[{file,"supervisor.erl"},{line,379}]}, | |
{supervisor,do_start_child,2, | |
[{file,"supervisor.erl"},{line,365}]}, | |
{supervisor,'-start_children/2-fun-0-',3, | |
[{file,"supervisor.erl"},{line,349}]}, | |
{supervisor,children_map,4, | |
[{file,"supervisor.erl"},{line,1157}]}, | |
{supervisor,init_children,2, | |
[{file,"supervisor.erl"},{line,315}]}]}} | |
offender: [{pid,undefined}, | |
{id,'Elixir.Logger.BackendSupervisor'}, | |
{mfargs,{'Elixir.Logger.BackendSupervisor',start_link,[[]]}}, | |
{restart_type,permanent}, | |
{shutdown,infinity}, | |
{child_type,supervisor}] | |
=CRASH REPORT==== 22-Nov-2019::17:18:20.842129 === | |
crasher: | |
initial call: application_master:init/4 | |
pid: <0.194.0> | |
registered_name: [] | |
exception exit: {{shutdown, | |
{failed_to_start_child, | |
'Elixir.Logger.BackendSupervisor', | |
{'EXIT', | |
{#{'__exception__' => true, | |
'__struct__' => 'Elixir.RuntimeError', | |
message => | |
<<"EXIT when installing backend {LoggerFileBackend, :error_log}: an exception was raised:\n ** (UndefinedFunctionError) function LoggerFileBackend.init/1 is undefined (module LoggerFileBackend is not available)\n LoggerFileBackend.init({LoggerFileBackend, :error_log})\n (stdlib) gen_event.erl:473: :gen_event.server_add_handler/4\n (stdlib) gen_event.erl:318: :gen_event.handle_msg/6\n (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3">>}, | |
[{'Elixir.Logger.BackendSupervisor', | |
'-start_link/1-fun-0-',2, | |
[{file,"lib/logger/backend_supervisor.ex"}, | |
{line,19}]}, | |
{'Elixir.Enum','-reduce/3-lists^foldl/2-0-',3, | |
[{file,"lib/enum.ex"},{line,1948}]}, | |
{'Elixir.Logger.BackendSupervisor',start_link,1, | |
[{file,"lib/logger/backend_supervisor.ex"}, | |
{line,13}]}, | |
{supervisor,do_start_child_i,3, | |
[{file,"supervisor.erl"},{line,379}]}, | |
{supervisor,do_start_child,2, | |
[{file,"supervisor.erl"},{line,365}]}, | |
{supervisor,'-start_children/2-fun-0-',3, | |
[{file,"supervisor.erl"},{line,349}]}, | |
{supervisor,children_map,4, | |
[{file,"supervisor.erl"},{line,1157}]}, | |
{supervisor,init_children,2, | |
[{file,"supervisor.erl"},{line,315}]}]}}}}, | |
{'Elixir.Logger.App',start,[normal,[]]}} | |
in function application_master:init/4 (application_master.erl, line 138) | |
ancestors: [<0.193.0>] | |
message_queue_len: 1 | |
messages: [{'EXIT',<0.195.0>,normal}] | |
links: [<0.193.0>,<0.43.0>] | |
dictionary: [] | |
trap_exit: true | |
status: running | |
heap_size: 987 | |
stack_size: 27 | |
reductions: 239 | |
neighbours: | |
=INFO REPORT==== 22-Nov-2019::17:18:20.847323 === | |
application: logger | |
exited: {{shutdown, | |
{failed_to_start_child,'Elixir.Logger.BackendSupervisor', | |
{'EXIT', | |
{#{'__exception__' => true, | |
'__struct__' => 'Elixir.RuntimeError', | |
message => | |
<<"EXIT when installing backend {LoggerFileBackend, :error_log}: an exception was raised:\n ** (UndefinedFunctionError) function LoggerFileBackend.init/1 is undefined (module LoggerFileBackend is not available)\n LoggerFileBackend.init({LoggerFileBackend, :error_log})\n (stdlib) gen_event.erl:473: :gen_event.server_add_handler/4\n (stdlib) gen_event.erl:318: :gen_event.handle_msg/6\n (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3">>}, | |
[{'Elixir.Logger.BackendSupervisor', | |
'-start_link/1-fun-0-',2, | |
[{file,"lib/logger/backend_supervisor.ex"}, | |
{line,19}]}, | |
{'Elixir.Enum','-reduce/3-lists^foldl/2-0-',3, | |
[{file,"lib/enum.ex"},{line,1948}]}, | |
{'Elixir.Logger.BackendSupervisor',start_link,1, | |
[{file,"lib/logger/backend_supervisor.ex"}, | |
{line,13}]}, | |
{supervisor,do_start_child_i,3, | |
[{file,"supervisor.erl"},{line,379}]}, | |
{supervisor,do_start_child,2, | |
[{file,"supervisor.erl"},{line,365}]}, | |
{supervisor,'-start_children/2-fun-0-',3, | |
[{file,"supervisor.erl"},{line,349}]}, | |
{supervisor,children_map,4, | |
[{file,"supervisor.erl"},{line,1157}]}, | |
{supervisor,init_children,2, | |
[{file,"supervisor.erl"},{line,315}]}]}}}}, | |
{'Elixir.Logger.App',start,[normal,[]]}} | |
type: temporary | |
** (Mix) Could not start application logger: Logger.App.start(:normal, []) returned an error: shutdown: failed to start child: Logger.BackendSupervisor | |
** (EXIT) an exception was raised: | |
** (RuntimeError) EXIT when installing backend {LoggerFileBackend, :error_log}: an exception was raised: | |
** (UndefinedFunctionError) function LoggerFileBackend.init/1 is undefined (module LoggerFileBackend is not available) | |
LoggerFileBackend.init({LoggerFileBackend, :error_log}) | |
(stdlib) gen_event.erl:473: :gen_event.server_add_handler/4 | |
(stdlib) gen_event.erl:318: :gen_event.handle_msg/6 | |
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3 | |
(logger) lib/logger/backend_supervisor.ex:19: anonymous fn/2 in Logger.BackendSupervisor.start_link/1 | |
(elixir) lib/enum.ex:1948: Enum."-reduce/3-lists^foldl/2-0-"/3 | |
(logger) lib/logger/backend_supervisor.ex:13: Logger.BackendSupervisor.start_link/1 | |
(stdlib) supervisor.erl:379: :supervisor.do_start_child_i/3 | |
(stdlib) supervisor.erl:365: :supervisor.do_start_child/2 | |
(stdlib) supervisor.erl:349: anonymous fn/3 in :supervisor.start_children/2 | |
(stdlib) supervisor.erl:1157: :supervisor.children_map/4 | |
(stdlib) supervisor.erl:315: :supervisor.init_children/2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prototype/ub_jor/apps/jor༽ | |
༄ mix phx.server | |
Compiling 12 files (.ex) | |
Generated jor app | |
=CRASH REPORT==== 22-Nov-2019::17:22:17.486880 === | |
crasher: | |
initial call: Elixir.Logger.Watcher:init/1 | |
pid: <0.291.0> | |
registered_name: [] | |
exception exit: {'EXIT', | |
{undef, | |
[{'Elixir.LoggerFileBackend',init, | |
[{'Elixir.LoggerFileBackend',error_log}], | |
[]}, | |
{gen_event,server_add_handler,4, | |
[{file,"gen_event.erl"},{line,473}]}, | |
{gen_event,handle_msg,6, | |
[{file,"gen_event.erl"},{line,318}]}, | |
{proc_lib,init_p_do_apply,3, | |
[{file,"proc_lib.erl"},{line,249}]}]}} | |
in function gen_server:init_it/6 (gen_server.erl, line 358) | |
ancestors: ['Elixir.Logger.BackendSupervisor', | |
'Elixir.Logger.Supervisor',<0.286.0>] | |
message_queue_len: 0 | |
messages: [] | |
links: [<0.290.0>,<0.288.0>] | |
dictionary: [] | |
trap_exit: true | |
status: running | |
heap_size: 376 | |
stack_size: 27 | |
reductions: 257 | |
neighbours: | |
=SUPERVISOR REPORT==== 22-Nov-2019::17:22:17.508219 === | |
supervisor: {local,'Elixir.Logger.Supervisor'} | |
errorContext: start_error | |
reason: {'EXIT', | |
{#{'__exception__' => true, | |
'__struct__' => 'Elixir.RuntimeError', | |
message => | |
<<"EXIT when installing backend {LoggerFileBackend, :error_log}: an exception was raised:\n ** (UndefinedFunctionError) function LoggerFileBackend.init/1 is undefined (module LoggerFileBackend is not available)\n LoggerFileBackend.init({LoggerFileBackend, :error_log})\n (stdlib) gen_event.erl:473: :gen_event.server_add_handler/4\n (stdlib) gen_event.erl:318: :gen_event.handle_msg/6\n (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3">>}, | |
[{'Elixir.Logger.BackendSupervisor','-start_link/1-fun-0-', | |
2, | |
[{file,"lib/logger/backend_supervisor.ex"},{line,19}]}, | |
{'Elixir.Enum','-reduce/3-lists^foldl/2-0-',3, | |
[{file,"lib/enum.ex"},{line,1948}]}, | |
{'Elixir.Logger.BackendSupervisor',start_link,1, | |
[{file,"lib/logger/backend_supervisor.ex"},{line,13}]}, | |
{supervisor,do_start_child_i,3, | |
[{file,"supervisor.erl"},{line,379}]}, | |
{supervisor,do_start_child,2, | |
[{file,"supervisor.erl"},{line,365}]}, | |
{supervisor,'-start_children/2-fun-0-',3, | |
[{file,"supervisor.erl"},{line,349}]}, | |
{supervisor,children_map,4, | |
[{file,"supervisor.erl"},{line,1157}]}, | |
{supervisor,init_children,2, | |
[{file,"supervisor.erl"},{line,315}]}]}} | |
offender: [{pid,undefined}, | |
{id,'Elixir.Logger.BackendSupervisor'}, | |
{mfargs,{'Elixir.Logger.BackendSupervisor',start_link,[[]]}}, | |
{restart_type,permanent}, | |
{shutdown,infinity}, | |
{child_type,supervisor}] | |
=CRASH REPORT==== 22-Nov-2019::17:22:17.510968 === | |
crasher: | |
initial call: application_master:init/4 | |
pid: <0.285.0> | |
registered_name: [] | |
exception exit: {{shutdown, | |
{failed_to_start_child, | |
'Elixir.Logger.BackendSupervisor', | |
{'EXIT', | |
{#{'__exception__' => true, | |
'__struct__' => 'Elixir.RuntimeError', | |
message => | |
<<"EXIT when installing backend {LoggerFileBackend, :error_log}: an exception was raised:\n ** (UndefinedFunctionError) function LoggerFileBackend.init/1 is undefined (module LoggerFileBackend is not available)\n LoggerFileBackend.init({LoggerFileBackend, :error_log})\n (stdlib) gen_event.erl:473: :gen_event.server_add_handler/4\n (stdlib) gen_event.erl:318: :gen_event.handle_msg/6\n (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3">>}, | |
[{'Elixir.Logger.BackendSupervisor', | |
'-start_link/1-fun-0-',2, | |
[{file,"lib/logger/backend_supervisor.ex"}, | |
{line,19}]}, | |
{'Elixir.Enum','-reduce/3-lists^foldl/2-0-',3, | |
[{file,"lib/enum.ex"},{line,1948}]}, | |
{'Elixir.Logger.BackendSupervisor',start_link,1, | |
[{file,"lib/logger/backend_supervisor.ex"}, | |
{line,13}]}, | |
{supervisor,do_start_child_i,3, | |
[{file,"supervisor.erl"},{line,379}]}, | |
{supervisor,do_start_child,2, | |
[{file,"supervisor.erl"},{line,365}]}, | |
{supervisor,'-start_children/2-fun-0-',3, | |
[{file,"supervisor.erl"},{line,349}]}, | |
{supervisor,children_map,4, | |
[{file,"supervisor.erl"},{line,1157}]}, | |
{supervisor,init_children,2, | |
[{file,"supervisor.erl"},{line,315}]}]}}}}, | |
{'Elixir.Logger.App',start,[normal,[]]}} | |
in function application_master:init/4 (application_master.erl, line 138) | |
ancestors: [<0.284.0>] | |
message_queue_len: 1 | |
messages: [{'EXIT',<0.286.0>,normal}] | |
links: [<0.284.0>,<0.43.0>] | |
dictionary: [] | |
trap_exit: true | |
status: running | |
heap_size: 987 | |
stack_size: 27 | |
reductions: 239 | |
neighbours: | |
=INFO REPORT==== 22-Nov-2019::17:22:17.519683 === | |
application: logger | |
exited: {{shutdown, | |
{failed_to_start_child,'Elixir.Logger.BackendSupervisor', | |
{'EXIT', | |
{#{'__exception__' => true, | |
'__struct__' => 'Elixir.RuntimeError', | |
message => | |
<<"EXIT when installing backend {LoggerFileBackend, :error_log}: an exception was raised:\n ** (UndefinedFunctionError) function LoggerFileBackend.init/1 is undefined (module LoggerFileBackend is not available)\n LoggerFileBackend.init({LoggerFileBackend, :error_log})\n (stdlib) gen_event.erl:473: :gen_event.server_add_handler/4\n (stdlib) gen_event.erl:318: :gen_event.handle_msg/6\n (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3">>}, | |
[{'Elixir.Logger.BackendSupervisor', | |
'-start_link/1-fun-0-',2, | |
[{file,"lib/logger/backend_supervisor.ex"}, | |
{line,19}]}, | |
{'Elixir.Enum','-reduce/3-lists^foldl/2-0-',3, | |
[{file,"lib/enum.ex"},{line,1948}]}, | |
{'Elixir.Logger.BackendSupervisor',start_link,1, | |
[{file,"lib/logger/backend_supervisor.ex"}, | |
{line,13}]}, | |
{supervisor,do_start_child_i,3, | |
[{file,"supervisor.erl"},{line,379}]}, | |
{supervisor,do_start_child,2, | |
[{file,"supervisor.erl"},{line,365}]}, | |
{supervisor,'-start_children/2-fun-0-',3, | |
[{file,"supervisor.erl"},{line,349}]}, | |
{supervisor,children_map,4, | |
[{file,"supervisor.erl"},{line,1157}]}, | |
{supervisor,init_children,2, | |
[{file,"supervisor.erl"},{line,315}]}]}}}}, | |
{'Elixir.Logger.App',start,[normal,[]]}} | |
type: temporary | |
** (Mix) Could not start application logger: Logger.App.start(:normal, []) returned an error: shutdown: failed to start child: Logger.BackendSupervisor | |
** (EXIT) an exception was raised: | |
** (RuntimeError) EXIT when installing backend {LoggerFileBackend, :error_log}: an exception was raised: | |
** (UndefinedFunctionError) function LoggerFileBackend.init/1 is undefined (module LoggerFileBackend is not available) | |
LoggerFileBackend.init({LoggerFileBackend, :error_log}) | |
(stdlib) gen_event.erl:473: :gen_event.server_add_handler/4 | |
(stdlib) gen_event.erl:318: :gen_event.handle_msg/6 | |
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3 | |
(logger) lib/logger/backend_supervisor.ex:19: anonymous fn/2 in Logger.BackendSupervisor.start_link/1 | |
(elixir) lib/enum.ex:1948: Enum."-reduce/3-lists^foldl/2-0-"/3 | |
(logger) lib/logger/backend_supervisor.ex:13: Logger.BackendSupervisor.start_link/1 | |
(stdlib) supervisor.erl:379: :supervisor.do_start_child_i/3 | |
(stdlib) supervisor.erl:365: :supervisor.do_start_child/2 | |
(stdlib) supervisor.erl:349: anonymous fn/3 in :supervisor.start_children/2 | |
(stdlib) supervisor.erl:1157: :supervisor.children_map/4 | |
(stdlib) supervisor.erl:315: :supervisor.init_children/2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment