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

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

@ddfisher

Description

@ddfisher

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions