nodejs / nodejs/node-gyp

Could we have `node-gyp --version` report on ALL installed versions?

Open
#2,608 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

Given https://github.com/nodejs/node-gyp/blob/master/docs/Updating-npm-bundled-node-gyp.md will confuse many users of this software, would it be possible to have node-gyp --version report on ALL installed versions? The output could put special emphasis on the version that will actually be used which may be different from (and often less than) the globally installed node-gyp.

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 reading docs/Updating-npm-bundled-node-gyp.md and inspecting the entry point for node-gyp --version. Determine how installed versions and the version actually used can be identified; done means the command reports all installed versions while clearly emphasizing the active one.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, python
Domain
build-system, cli, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.