# Yarn start not working

**URL:** <https://discuss.elastic.co/t/yarn-start-not-working/136750>\
**Category:** Kibana\
**Created:** [June 20, 2018, 6:37pm UTC](https://discuss.elastic.co/t/yarn-start-not-working/136750 "2018-06-20T18:37:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexv9](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@alexv9](https://discuss.elastic.co/u/alexv9)\
**Post date:** [June 20, 2018, 6:37pm UTC](https://discuss.elastic.co/t/yarn-start-not-working/136750/1 "2018-06-20T18:37:52Z")

</div>

Hi,

Just yesterday yarn start was working perfectly when I needed to set up a development server from the master branch. Today for some reason it keeps failing with  
`failed to watch files! Error: watch /home/user/kibana/src/core_plugins/kibana/common/tutorials/tutorial_category.js ENOSPC`

I have tried deleting the kibana folder, recloning, and following the steps in the setting up the development environment guide but it keeps failing.

---

<div class="post-metadata">

**Author:** ![alexv9](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@alexv9](https://discuss.elastic.co/u/alexv9)\
**Post date:** [June 20, 2018, 6:40pm UTC](https://discuss.elastic.co/t/yarn-start-not-working/136750/2 "2018-06-20T18:40:08Z")

</div>

I am on Centos by the way

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [June 20, 2018, 6:49pm UTC](https://discuss.elastic.co/t/yarn-start-not-working/136750/3 "2018-06-20T18:49:24Z")

</div>

"ENOSPC" means that there is no space on the drive, so where do you save your file? Might be a disk issue. I think its not related to yarn at all. I also found some one else reported this error : [https://github.com/facebook/jest/issues/3254](https://github.com/facebook/jest/issues/3254)

See if that helps !

Good luck  
Rashmi

---

<div class="post-metadata">

**Author:** ![alexv9](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@alexv9](https://discuss.elastic.co/u/alexv9)\
**Post date:** [June 20, 2018, 6:55pm UTC](https://discuss.elastic.co/t/yarn-start-not-working/136750/4 "2018-06-20T18:55:03Z")

</div>

Thanks so much!

To anyone else wondering,

`echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p`  
seems to be the solution and worked for me. Too many files are being watched, this command reduces the amount that are watched for large projects.

---

<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:** [July 18, 2018, 6:55pm UTC](https://discuss.elastic.co/t/yarn-start-not-working/136750/5 "2018-07-18T18:55:08Z")

</div>

Closed on July 18, 2018, 6:55pm UTC

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