ember cli application build fails: The Broccoli Plugin: [object Object] failed with:
This error is because of inotify watches reaching the maximum limit in your system.
To check the max number of inotify watches:
cat /proc/sys/fs/inotify/max_user_watches
To set max number of inotify watches
Temporarily:
- Run
sudo sysctl fs.inotify.max_user_watches=
with your preferred value at the end.
Permanently:
echo 878987 | sudo tee -a /proc/sys/fs/inotify/max_user_watches
Do you have watchman installed? maybe it could help bypass the Nodewatch problem. In my 64 bit ubuntu:
// installing watchman from sourcegit clone https://github.com/facebook/watchman.gitcd watchman./autogen.sh./configuremakesudo make install
full installation instructions regarding watchman can also be found here https://facebook.github.io/watchman/docs/install.html