# Creating new beat throws an error

**URL:** https://discuss.elastic.co/t/creating-new-beat-throws-an-error/171386
**Category:** Beats
**Created:** [March 7, 2019, 9:32pm UTC](https://discuss.elastic.co/t/creating-new-beat-throws-an-error/171386 "2019-03-07T21:32:34Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ash\_coder](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@ash\_coder](https://discuss.elastic.co/u/ash_coder)
#### Post date: [March 7, 2019, 9:32pm UTC](https://discuss.elastic.co/t/creating-new-beat-throws-an-error/171386/1 "2019-03-07T21:32:34Z")

</div>

Hi,

I am creating a new beat and following the documentation [https://www.elastic.co/guide/en/beats/libbeat/5.4/setting-up-beat.html](https://www.elastic.co/guide/en/beats/libbeat/5.4/setting-up-beat.html)

I hit this error. Could some one please help. I am on the master branch

```
/vendor/github.com/elastic/beats/libbeat/scripts/Makefile:100: ../dev- 
tools/make/mage.mk: No such file or directory
    make[1]: *** No rule to make target `../dev-tools/make/mage.mk'. Stop.
    make: *** [pre-setup] Error 2
```

---

<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: [April 4, 2019, 11:32pm UTC](https://discuss.elastic.co/t/creating-new-beat-throws-an-error/171386/2 "2019-04-04T23:32:38Z")

</div>

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