rebar: error exit on create-app: {crypto,start,[]}

后端 未结 5 872
生来不讨喜
生来不讨喜 2021-01-12 02:30

I followed the instructions here, to the letter. I then ran the instruction to create an application project structure, and got the following error.

$ ./reba         


        
5条回答
  •  一生所求
    2021-01-12 03:02

    Getting this error when running make command:

    root@hs:/var/www/html/ejabberd-master# make
    rm -rf deps/.got
    rm -rf deps/.built
    /usr/local/lib/erlang/bin/escript rebar get-deps && :> deps/.got
    Uncaught error in rebar_core: {'EXIT',
                               {undef,
                                [{crypto,start,[],[]},
                                 {rebar,run_aux,2,
                                  [{file,"src/rebar.erl"},{line,163}]},
                                 {rebar,main,1,
                                  [{file,"src/rebar.erl"},{line,58}]},
                                 {escript,run,2,
                                  [{file,"escript.erl"},{line,757}]},
                                 {escript,start,1,
                                  [{file,"escript.erl"},{line,277}]},
                                 {init,start_it,1,[]},
                                 {init,start_em,1,[]}]}}
    make: *** [deps/.got] Error 1
    

    The erlang details are:

    root@hs:/home/node# erl
    Erlang/OTP 18 [erts-7.0] [source] [64-bit] [smp:4:4] [async-    threads:10] [hipe] [kernel-poll:false]
    
    Eshell V7.0  (abort with ^G)
    1> crypto:start()
    1> 
    

    Seems like crypto not working, as the command gives "Ok" or "exception error".

    Help needed.

提交回复
热议问题