adafruit / adafruit/nprone-cli

More descriptive error when mplayer is not installed

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
56
Forks
6
PR merge metrics
No merged PRs in 30d

Description

On a vanilla Sierra install, I ran `npm install -g npr-one` and then got the following:

```
connecting to npr one...
events.js:160
throw er; // Unhandled 'error' event
^
```

The solution was to run `brew install mplayer`. It'd be nice if the CLI could return with a more descriptive error when mplayer isn't installed.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the CLI entry point that launches mplayer and reproduce the failure on a vanilla Sierra install without mplayer installed. Done means the CLI reports that mplayer is missing and tells the user to install it, instead of exposing the unhandled error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.