Nuxt.js: ERROR: System limit for number of file watchers reached

Created on 2 Aug 2019  路  1Comment  路  Source: nuxt/nuxt.js

Version

v2.8.1

Reproduction link

http://localhost

Steps to reproduce

Starting nuxt via npm run dev.

What is expected ?

For the application to start.

What is actually happening?

Compile errors on the server.

Additional comments?

I've used 2 projects that rely on the latest version of Nuxt:

https://github.com/fritsvt/laravel-nuxt-authentication

and

https://github.com/cretueusebiu/laravel-nuxt

Both exhibit the same behavour when running Nuxt. Since this is a Nuxt error, I'm reporting here. I've already created in issue for each of these projects as well.

This bug report is available on Nuxt community (#c9592)
bug-report

Most helpful comment

Not directly related to Nuxt but to your system watcher limits.

Try echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

Please check https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers for more info.

>All comments

Not directly related to Nuxt but to your system watcher limits.

Try echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

Please check https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers for more info.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vadimsg picture vadimsg  路  3Comments

gary149 picture gary149  路  3Comments

maicong picture maicong  路  3Comments

jaredreich picture jaredreich  路  3Comments

uptownhr picture uptownhr  路  3Comments