Quick fix for “EMFILE: too many open files error” during webpack build

torrito
1 min readMay 12, 2019

--

Use graceful-fs in your webpack.config.js:

require(‘graceful-fs’).gracefulify(require(‘fs’));

--

--