nodejs / nodejs/node-gyp

Don't use error code 0 when there's an error

Open
#2,781 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
10.7k
Forks
1.9k
Avg merge
1d 4h
Merged PRs (30d)
5

Description

When there's an error like in https://github.com/nodejs/node-gyp/issues/1546 it shouldn't exit with error code 0 because scripts think it had no errors.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure described in node-gyp issue #1546 and trace how the error reaches the command's exit status. Done means the reported error causes a nonzero exit code so calling scripts no longer treat the command as successful.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, python
Domain
build-system, cli, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.