Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility of supplying header packages? #1834

Open
jackmtpt opened this issue Nov 12, 2024 · 0 comments
Open

Possibility of supplying header packages? #1834

jackmtpt opened this issue Nov 12, 2024 · 0 comments

Comments

@jackmtpt
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant