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’));

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

torrito
torrito

Written by torrito

UI developer / UX appreciator / latent DEsigner

No responses yet

Write a response