nodesource / nodesource/distributions
Possibility of supplying header packages?
@JesusPaz is already working on this.
Since Jan 14, 2025.
- Dominant language
- Shell
- Stars
- 13.8k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
In order to compile native modules with node-gyp, you need to have the nodejs header files available. Normally the tarball containing them is downloaded at build time from e.g. https://nodejs.org/download/release/v22.11.0/node-v22.11.0-headers.tar.gz
This is a problem for airgapped/restricted environments where downloading files off the internet is not permitted.
Would it be possible to get a nodejs-dev package published which contains the header files and installs them to a known location which node-gyp can then be pointed to? That would bring nodejs in line with many other Linux packages that provide a -dev package with headers in it.
Contributor guide
No contributing guide indexed for this repository
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.
Assessment
This issue has not been assessed yet.