# Make setup command throws error

**URL:** https://discuss.elastic.co/t/make-setup-command-throws-error/92466
**Category:** Beats
**Created:** [July 10, 2017, 12:46pm UTC](https://discuss.elastic.co/t/make-setup-command-throws-error/92466 "2017-07-10T12:46:13Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![paul1243](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@paul1243](https://discuss.elastic.co/u/paul1243)
#### Post date: [July 10, 2017, 12:46pm UTC](https://discuss.elastic.co/t/make-setup-command-throws-error/92466/1 "2017-07-10T12:46:13Z")

</div>

Hi -  
Am trying to build a own beat, which would make a rest calls to a server and will have to send the output to Elastic Search.

Am hitting the below error, when I enter the 'make setup' command. Could someone please help me on this.

 ![](https://us1.discourse-cdn.com/elastic/original/3X/7/d/7d91a69188d5faf317dd7145a9c03c35540343f5.PNG)

---

<div class="post-metadata">

### Author: ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)
#### Post date: [July 10, 2017, 1:24pm UTC](https://discuss.elastic.co/t/make-setup-command-throws-error/92466/2 "2017-07-10T13:24:36Z")

</div>

I don't think the make commands are written in way that they will run in a Windows shell. They have been testing on Linux and macOS. It would probably work using the new [Linux Bash shell in Windows](https://msdn.microsoft.com/en-us/commandline/wsl/about), but I haven't tried that.

---

<div class="post-metadata">

### Author: ![paul1243](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@paul1243](https://discuss.elastic.co/u/paul1243)
#### Post date: [July 10, 2017, 1:27pm UTC](https://discuss.elastic.co/t/make-setup-command-throws-error/92466/3 "2017-07-10T13:27:29Z")

</div>

Thanks for your reply @andrewkroh.

Any other alternative way to create a Beat on Windows -7 ?  
The link attached suggests to have Wndows-10.  
Please let me know. Thanks !

---

<div class="post-metadata">

### Author: ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)
#### Post date: [July 12, 2017, 12:30am UTC](https://discuss.elastic.co/t/make-setup-command-throws-error/92466/4 "2017-07-12T00:30:42Z")

</div>

You could try manually running the commands listed inside the Makefile's `setup` target. You might need to modify the command to make them compatible with Windows (like modifying the paths, etc).

---

<div class="post-metadata">

### Author: ![paul1243](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@paul1243](https://discuss.elastic.co/u/paul1243)
#### Post date: [July 12, 2017, 4:17am UTC](https://discuss.elastic.co/t/make-setup-command-throws-error/92466/5 "2017-07-12T04:17:08Z")

</div>

Sure. I'd try that and get back. 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 7, 2017, 12:46pm UTC](https://discuss.elastic.co/t/make-setup-command-throws-error/92466/6 "2017-08-07T12:46:25Z")

</div>

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