From 33e6c20e217c267ce4474cee28ee11133368a804 Mon Sep 17 00:00:00 2001 From: Alex Kern Date: Sun, 17 May 2015 14:02:24 -0700 Subject: [PATCH] Add a troubleshooting section to the README. Closes #10. --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 22f7a94..0eddda2 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,15 @@ By using [WebRTC](http://www.webrtc.org), FilePizza eliminates the initial uploa * node `0.12.x` * npm `2.x.x` +## Troubleshooting + +If you receive a `Error: EMFILE, too many open files` error when running `npm +start` on a Mac, this is a result of Browserify's compilation step opening up a +large number of npm modules all at once. You'll have to increase the maximum +number of open files allowed on your system: + + $ sysctl -w kern.maxfiles=20480 + ## License BSD