Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Give better error message than "failed to run undefined undefined" if node unavailableΒ #30

@flungo

Description

@flungo

When node is unavailable, the error that is presented is really unclear:

failed to run undefined undefined
spawn /usr/lib/node_modules/atom-package-manager/bin/node ENOENT

It isn't even obvious that the error is caused by the linter-write-good plugin - I only knew because I had just installed it when getting this message. Can you implement this failure in a more graceful way with a useful error message suggesting that the user alters their configuration?

For reference, node is not available at /usr/lib/node_modules/atom-package-manager/bin/node when atom is installed using the atom package for Arch Linux.

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