EMQ 问答社区

开源版idea编译报错can't find include lib "providers/include/providers.hrl"

问题描述

idea 的 rebar 编译报错:

E:\apps\erlang\erl-23.3\bin\escript.exe E:\apps\rebar3-3.14.4\rebar3 compile
===> Analyzing applications...
===> Compiling getopt
===> Compiling providers
===> Compiling gpb
===> Compiling grpc_plugin
===> Compiling _build/default/plugins/grpc_plugin/src/grpc_plugin_clean_prv.erl failed
_build/default/plugins/grpc_plugin/src/grpc_plugin_clean_prv.erl:5: can't find include lib "providers/include/providers.hrl"; Make sure providers is in your app file's 'applications' list

具体详情见截图

环境信息

  • EMQ X 版本:4.3
  • 操作系统及版本:window10
  • 其他

你不要用IDEA,直接命令行 make