Chokidar: ENOSPC Error. Fails to watch when not superuser

Created on 16 Jun 2017  路  1Comment  路  Source: paulmillr/chokidar

Sorry for the noob question. I'm certain this is just some simple permission issue. When I run my app as super user it works great but if I try to run it as my default user it fails. I set the permissions to chmod 777 -R and chown : -R . The brackets are just to show that is the place that I put my username and path to the project respectively. It didn't fix it.

selection_234

I'm using Linux Mint 18. I've run apt-get update and apt-get upgrade. I've also uninstalled node and reinstalled it. I can't seem to get this fixed and it seems like such a simple issue. Thanks!

selection_236

selection_237

Most helpful comment

Solved!!!

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

>All comments

Solved!!!

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rcarmich picture rcarmich  路  4Comments

ORESoftware picture ORESoftware  路  8Comments

RedMickey picture RedMickey  路  4Comments

jwahlin picture jwahlin  路  7Comments

Tilogorn picture Tilogorn  路  6Comments