Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/apache-kafka/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Erlang 钢筋包含ext libs错误_Erlang_Rebar - Fatal编程技术网

Erlang 钢筋包含ext libs错误

Erlang 钢筋包含ext libs错误,erlang,rebar,Erlang,Rebar,钢筋配置: {deps, [ {ibrowse, ".*", {git, "git://github.com/cmullaparthi/ibrowse.git", "master"}} ]}. 制作时: Uncaught error in rebar_core: {'EXIT', {badarg, [{re,run,[git,[],[{capture,non

钢筋配置:

{deps, [
  {ibrowse, ".*",
   {git, "git://github.com/cmullaparthi/ibrowse.git", "master"}}
]}.
制作时:

Uncaught error in rebar_core: {'EXIT',
                              {badarg,
                                  [{re,run,[git,[],[{capture,none}]]},
                                   {rebar_deps,is_app_available,3},
                                   {rebar_deps,find_deps,3},
                                   {rebar_deps,preprocess,2},
                                   {rebar_core,acc_modules,5},
                                   {rebar_core,process_dir,4},
                                   {rebar_core,process_commands,1},
                                   {rebar,main,1}]}}
make:[全部]错误1


为什么?

您的配置文件适合我,因此我建议您执行以下操作:

  • 确保安装了git
  • 将的最新版本放在项目目录中
  • 使用像我描述的那样的Makefile
  • 删除现有的deps目录
  • 运行
    make
  • 如果要直接使用钢筋而不是使用make,可以执行以下操作:

    $ ./rebar get-deps
    $ ./rebar compile
    

    您的配置文件对我有效,因此我建议执行以下操作:

  • 确保安装了git
  • 将的最新版本放在项目目录中
  • 使用像我描述的那样的Makefile
  • 删除现有的deps目录
  • 运行
    make
  • 如果要直接使用钢筋而不是使用make,可以执行以下操作:

    $ ./rebar get-deps
    $ ./rebar compile
    

    我昨天也犯了同样的错误,这是因为我使用的是旧版本的钢筋,或者可能是因为我使用的是在不同系统上编译的钢筋版本。尝试使用erlang和rebar的最新版本重新编译rebar。

    我昨天遇到了相同的错误,这是因为我使用的是旧版本的rebar,或者可能是因为我使用的是在不同系统上编译的rebar版本。尝试使用erlang和钢筋的最新版本重新编译钢筋