For some days I have searched for a working solution to an error
Error: EMFILE, too many open files
It seems that many people have the same proble
I had this issue, and i solved it by running npm update and it worked.
npm update
In some cases you may need to remove node_modules rm -rf node_modules/
rm -rf node_modules/