# Beat creation failing

**URL:** https://discuss.elastic.co/t/beat-creation-failing/146969
**Category:** Beats
**Tags:** beats-development
**Created:** [September 2, 2018, 8:33am UTC](https://discuss.elastic.co/t/beat-creation-failing/146969 "2018-09-02T08:33:54Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![pohzipohzi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pohzipohzi/32/35073_2.png) [@pohzipohzi](https://discuss.elastic.co/u/pohzipohzi)
#### Post date: [September 2, 2018, 8:33am UTC](https://discuss.elastic.co/t/beat-creation-failing/146969/1 "2018-09-02T08:33:54Z")

</div>

I'm following the instructions to `creating a new beat` and ran into an error [here](https://www.elastic.co/guide/en/beats/devguide/current/setting-up-beat.html).

```auto
make: *** No rule to make target 'update', needed by 'setup'. Stop.

```

When I took a look at the generate script, it seems that the [update command](https://github.com/elastic/beats/blob/master/generator/beat/%7Bbeat%7D/Makefile#L16) was not running correctly:

```auto
.PHONY: setup
setup: copy-vendor git-init update git-add

```

This however works:

```auto
.PHONY: setup
setup:
	make copy-vendor
	make git-init
	make update
	make git-add

```

Beat Version: 6.4.0  
Operating System: Ubuntu 16.04 LTS

---

<div class="post-metadata">

### Author: ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)
#### Post date: [September 3, 2018, 8:31am UTC](https://discuss.elastic.co/t/beat-creation-failing/146969/2 "2018-09-03T08:31:21Z")

</div>

Your problem remind me of this issue: [https://github.com/elastic/beats/issues/7815](https://github.com/elastic/beats/issues/7815)  
Can you confirm it's the same problem?

---

<div class="post-metadata">

### Author: ![pohzipohzi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pohzipohzi/32/35073_2.png) [@pohzipohzi](https://discuss.elastic.co/u/pohzipohzi)
#### Post date: [September 3, 2018, 8:37am UTC](https://discuss.elastic.co/t/beat-creation-failing/146969/3 "2018-09-03T08:37:56Z")

</div>

Hi @kvch

Thanks for the reply. Yup it seems to be the same problem

---

<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: [October 1, 2018, 10:38am UTC](https://discuss.elastic.co/t/beat-creation-failing/146969/4 "2018-10-01T10:38:08Z")

</div>

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