Ecto.create failing on multiple machines

Hello! I’m pretty new to Elixir and Phoenix and tried to create a new project on new machine and after reading the documentation how to start a project a came across this error. Here is the process in details:
Started a new project with:

`mix phx.new hello --database postgres`
`cd hello`
and 
`mix ecto.create` 
which seems to push the same error on multiple machines with different OSes
##Error
==> mint
Compiling 1 file (.erl)
src/mint_shims.erl:37:14: can't find include lib "public_key/include/public_key.hrl"
%   37| -include_lib("public_key/include/public_key.hrl").
%     |              ^

src/mint_shims.erl:64:21: undefined macro 'id-ce-subjectAltName'
%   64|         try lists:keyfind(?'id-ce-subjectAltName',
%     |                            ^

src/mint_shims.erl:39:2: function pkix_verify_hostname/3 undefined
%   39| -export([pkix_verify_hostname/2, pkix_verify_hostname/3]).
%     |  ^

src/mint_shims.erl:42:36: record 'OTPCertificate' undefined
%   42| -spec pkix_verify_hostname(Cert :: #'OTPCertificate'{} | binary(),
%     |                                    ^

src/mint_shims.erl:45:2: spec for undefined function pkix_verify_hostname/3
%   45| -spec pkix_verify_hostname(Cert :: #'OTPCertificate'{} | binary(),
%     |  ^

src/mint_shims.erl:45:36: record 'OTPCertificate' undefined
%   45| -spec pkix_verify_hostname(Cert :: #'OTPCertificate'{} | binary(),
%     |                                    ^

src/mint_shims.erl:52:5: function pkix_verify_hostname/3 undefined
%   52|     pkix_verify_hostname(Cert, ReferenceIDs, []).
%     |     ^

src/mint_shims.erl:114:1: Warning: function verify_hostname_extract_fqdn_default/1 is unused
%  114| verify_hostname_extract_fqdn_default({dns_id,S}) ->
%     | ^

src/mint_shims.erl:122:1: Warning: function verify_hostname_fqnds/2 is unused
%  122| verify_hostname_fqnds(L, FqdnFun) ->
%     | ^

src/mint_shims.erl:139:1: Warning: function verify_hostname_match_default/2 is unused
%  139| verify_hostname_match_default(Ref, Pres) ->
%     | ^

src/mint_shims.erl:142:1: Warning: function verify_hostname_match_default0/2 is unused
%  142| verify_hostname_match_default0(FQDN=[_|_], {cn,FQDN}) ->
%     | ^

src/mint_shims.erl:182:1: Warning: function ok/1 is unused
%  182| ok({ok,X}) -> X.
%     | ^

src/mint_shims.erl:184:1: Warning: function l16_to_tup/1 is unused
%  184| l16_to_tup(L) -> list_to_tuple(l16_to_tup(L, [])).
%     | ^

src/mint_shims.erl:186:1: Warning: function l16_to_tup/2 is unused
%  186| l16_to_tup([A,B|T], Acc) -> l16_to_tup(T, [(A bsl 8) bor B | Acc]);
%     | ^

src/mint_shims.erl:189:1: Warning: function match_wild/2 is unused
%  189| match_wild(A,     [$*|B]) -> match_wild_suffixes(A, B);
%     | ^

src/mint_shims.erl:195:1: Warning: function match_wild_suffixes/2 is unused
%  195| match_wild_suffixes(A, B) -> match_wild_sfx(lists:reverse(A), lists:reverse(B)).
%     | ^

src/mint_shims.erl:197:1: Warning: function match_wild_sfx/2 is unused
%  197| match_wild_sfx([$*|_],      _) -> false; % Bad name (no wildcards allowed)
%     | ^

src/mint_shims.erl:204:1: Warning: function verify_hostname_match_loop/5 is unused
%  204| verify_hostname_match_loop(Refs0, Pres0, undefined, FailCB, Cert) ->
%     | ^

src/mint_shims.erl:227:1: Warning: function to_lower_ascii/1 is unused
%  227| to_lower_ascii({ip,_}=X) -> X;
%     | ^

src/mint_shims.erl:234:1: Warning: function to_string/1 is unused
%  234| to_string(S) when is_list(S) -> S;
%     | ^

could not compile dependency :mint, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile mint", update it with "mix deps.update mint" or clean it with "mix deps.clean mint"                                                                           
                    

These appear to be the same error messages as from this thread:

The root cause could be either a misinstalled BEAM (so the headers aren’t present) or a misconfigured Erlang package, as in this issue:

Thank I will try using this fix!
I will update this thread later…