Skip to content

Non-existing commands crash Node instead of emitting errors #5

Description

If any of the child processes produces an error during its spawning (i.e., by some command not being installed), they will emit an error which will crash Node.js with an "unhandled error event" message.

Instead, these errors should be re-emitted so that the returned object can be used to handle them. This will help to provide users with a nice message requesting them to install the particular package or, in case of a server, return an actual HTTP error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions