Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

read-installed silently ignores errors from readdir-scoped-modules.readdir #35

Open
ddfisher opened this issue Nov 20, 2014 · 0 comments

Comments

@ddfisher
Copy link

Prior to 1.0.1, readdir-scoped-modules would throw EMFILE errors when reading large node_modules folders. Because read-installed assumes a readdir error simply implies an empty directory, this caused some installed modules to not be reported and lead to npm/npm#6506 (see this comment in particular). read-installed should either not suppress errors here or only suppress explicitly expected error types.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant