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

**URL:** <https://askemq.com/t/topic/335>\
**Category:** EMQX\
**Created:** [2021 年5 月 4 日 03:47 UTC](https://askemq.com/t/topic/335 "2021-05-04T03:47:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

作者： ![lgc055](https://askemq.com/letter_avatar/lgc055/32/6_449c533f586939b6e5f246632a46421f.png) [@lgc055](https://askemq.com/u/lgc055)\
发布日期： [2021 年5 月 4 日 03:47 UTC](https://askemq.com/t/topic/335/1 "2021-05-04T03:47:55Z")

</div>

### 问题描述

idea 的 rebar 编译报错：

```shell
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

```

具体详情见截图

 ![1](https://askemq.com/uploads/default/original/1X/3d654c20662f7d02d82d617b0ca431864fdd04b7.png) ![2](https://askemq.com/uploads/default/original/1X/d2c41a2b819f6f22af956c24ec0b6e0dac7d8f0a.png)

### 环境信息

- EMQ X 版本：4.3
- 操作系统及版本：window10
- 其他

---

<div class="post-metadata">

作者： ![wwhai](https://askemq.com/user_avatar/askemq.com/wwhai/32/1295_2.png) [@wwhai](https://askemq.com/u/wwhai)\
发布日期： [2021 年5 月 18 日 08:29 UTC](https://askemq.com/t/topic/335/2 "2021-05-18T08:29:33Z")

</div>

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