# Getting error while making custom beat - panic: failed determine libbeat dir location

**URL:** https://discuss.elastic.co/t/getting-error-while-making-custom-beat-panic-failed-determine-libbeat-dir-location/191327
**Category:** Beats
**Created:** [July 19, 2019, 6:48am UTC](https://discuss.elastic.co/t/getting-error-while-making-custom-beat-panic-failed-determine-libbeat-dir-location/191327 "2019-07-19T06:48:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![tameshwar.sahu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tameshwar.sahu/32/45364_2.png) [@tameshwar.sahu](https://discuss.elastic.co/u/tameshwar.sahu)
#### Post date: [July 19, 2019, 6:48am UTC](https://discuss.elastic.co/t/getting-error-while-making-custom-beat-panic-failed-determine-libbeat-dir-location/191327/1 "2019-07-19T06:48:42Z")

</div>

Hi,

Getting error while ruining 'make setup' command.

panic: failed determine libbeat dir location: failed to find [github.com/elastic/beats/dev-tools/mage](http://github.com/elastic/beats/dev-tools/mage) in the project's vendor

Please suggest what could be wrong.

Thanks

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [August 16, 2019, 8:48am UTC](https://discuss.elastic.co/t/getting-error-while-making-custom-beat-panic-failed-determine-libbeat-dir-location/191327/2 "2019-08-16T08:48:49Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
