Skip to content

Possibility of supplying header packages? #1834

Description

@jackmtpt

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions