Ângelo Ocanã

Web Apps Development and Training

Fix ENOSPC error

Edit
Post Tags

This error happens when your are watching to many files on linux.

You can get an error message like this:

error UNHANDLED EXCEPTION

Error: watch /home/angeloocana/dev/angeloocana/nodemodules/browser-resolve/no demodules/resolve/test/subdirs/node_modules/a/b ENOSPC

Fix ENOSPC error

Just run this command on a terminal and be Happy! =D

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

Read Next

See more interesting posts >>