react-native-windows icon indicating copy to clipboard operation
react-native-windows copied to clipboard

EMFILE: too many open files error

Open vince-rowe opened this issue 9 years ago • 2 comments

Trying to run react-native run-windows and getting EMFILE: too many open files error.

Am running Windows 10 with nodejs 6.9.5, npm 3.10.10, react-native-cli: 2.0.1, react-native: 0.41.2.

Any tips on how to get around this? I can't seem to find any setting in Windows unlike on a Mac (ulimit -n xxxx) and this works perfectly well on OSX for iOS and Android, its just when running the JS server on Windows 10.

Thanks

Update I was able to get this to run simply by removing as many files as I could. I removed all the Android and iOS side of things, and removed their platform specific modules. This is not a fix as I will need to start adding things back as I build it up, but limiting files has made the issue go for now.

vince-rowe avatar Feb 21 '17 00:02 vince-rowe

@vince-rowe was this still a problem with the latest versions of node?

sayar avatar Jul 17 '17 20:07 sayar

Closing due to inactivity.

rozele avatar Jul 23 '18 20:07 rozele