New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RangeError if too many files in directory tree #921

kmdavis opened this Issue Jul 7, 2016 · 0 comments


None yet
2 participants

kmdavis commented Jul 7, 2016

If the number of (nested) files in a subfolder exceeds 64k, file.getFilteredFileList throws an error at

{ [Error: RangeError: Maximum call stack size exceeded]
  originalError: [RangeError: Maximum call stack size exceeded] }

We encountered this after adding several new libraries to node_modules, resulting in an attempt to push 140k dirFiles onto the files array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment