I use Node.js (0.10.31) and Gulp (3.8.8) to automate some tasks in Windows 7, but I encountered the following error:
events.js:72 throw er; // Unhandled 'error' event ^ Error: EMFILE, open 'c:\myproject\package.json'
I moved the project to Ubuntu and fixed it with the ulimit -n command, but still wondering how to solve this on Windows.
Now, first, I want to know if there are any restrictions preventing the opening of more files / sockets in Windows 7 that cause EMFILE error or not?
Secondly, if so, how can I change this restriction?
Rahman
source share