mapbox / mapbox/node-pre-gyp

Any chance to make a --build-from-source flag behavior manageable?

Open
#239 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.2k
Forks
271
Avg merge
23h 40m
Merged PRs (30d)
2

Description

Hi, I'm trying to work around issue where `--build-from-source` flag triggers rebuild even if there are binaries available. I've opened a similar issue for electron-builder (https://github.com/electron-userland/electron-builder/issues/787) but I'm not sure will they accept my PR or not, so asking here. What do you think, is there a point to make this behavior controlled via some flag in `package.json` ?

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 tracing how node-pre-gyp handles the --build-from-source flag and whether package.json configuration is currently read for this behavior. Compare the request with the linked electron-builder issue and clarify the desired precedence between available binaries and source builds. Done means an agreed configuration behavior with corresponding implementation and verification.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
build-system, cli, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.