The `--jobs` option doesn't work from `.npmrc`
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 10.7k
- Forks
- 1.9k
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 5
Description
Similar to #2698.
- If you use
npm_config_jobs=max node-gyp build --verbose, thegyp.optshasjobs. - If you use
npm config set jobs max --location project && node-gyp build --verbose, thegyp.optsdoes not have jobs.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the two commands in the issue and compare the resulting gyp.opts output. Trace how the environment variable and project-level npm configuration reach node-gyp, then verify that the .npmrc form also produces a gyp.opts entry for jobs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs, python
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100