Skip to content

Instantly share code, notes, and snippets.

@anistark
Created October 14, 2015 07:43
Show Gist options
  • Save anistark/991a246e669f39bd4095 to your computer and use it in GitHub Desktop.
Save anistark/991a246e669f39bd4095 to your computer and use it in GitHub Desktop.
Common Node Errors

watch ENOSPC error

cause :

The system has a limit to how many files can be watched by a user. You can run out of watches pretty quickly if you have Grunt running with other programs like Dropbox. This command increases the maximum amount of watches a user can have.

Solution :

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment