Skip to content

How to start the server? #23

@maximvl

Description

@maximvl

Hello, I'm looking into sourcer as a replacement for now-unmantained EDTS, but can not even start it :)

Could you tell me how it's supposed to be started/used?

2> application:ensure_all_started(lsp_server). 

=INFO REPORT==== 2-Apr-2019::16:33:38 ===
    application: lsp_server
    exited: {{error,
                 {{badmatch,undefined},
                  [{lsp_server_sup,children,0,
                       [{file,
                            "/home/maxim/projects/sourcer/apps/lsp_server/src/lsp_server_sup.erl"},
                        {line,19}]},
                   {lsp_server_sup,init,1,
                       [{file,
                            "/home/maxim/projects/sourcer/apps/lsp_server/src/lsp_server_sup.erl"},
                        {line,14}]},
                   {supervisor,init,1,[{file,"supervisor.erl"},{line,294}]},
                   {gen_server,init_it,2,[{file,"gen_server.erl"},{line,365}]},
                   {gen_server,init_it,6,[{file,"gen_server.erl"},{line,333}]},
                   {proc_lib,init_p_do_apply,3,
                       [{file,"proc_lib.erl"},{line,247}]}]}},
             {lsp_server_app,start,[normal,[]]}}
    type: temporary

=INFO REPORT==== 2-Apr-2019::16:33:38 ===
    application: getopt
    exited: stopped
    type: temporary

=INFO REPORT==== 2-Apr-2019::16:33:38 ===
    application: jsx
    exited: stopped
    type: temporary
{error,{lsp_server,{{error,{{badmatch,undefined},
                            [{lsp_server_sup,children,0,
                                             [{file,"/home/maxim/projects/sourcer/apps/lsp_server/src/lsp_server_sup.erl"},
                                              {line,19}]},
                             {lsp_server_sup,init,1,
                                             [{file,"/home/maxim/projects/sourcer/apps/lsp_server/src/lsp_server_sup.erl"},
                                              {line,14}]},
                             {supervisor,init,1,[{file,"supervisor.erl"},{line,294}]},
                             {gen_server,init_it,2,[{file,"gen_server.erl"},{line,365}]},
                             {gen_server,init_it,6,[{file,"gen_server.erl"},{line,333}]},
                             {proc_lib,init_p_do_apply,3,
                                       [{file,"proc_lib.erl"},{line,247}]}]}},
                    {lsp_server_app,start,[normal,[]]}}}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions