question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

nodejs 'make install'ed headers are ignored

See original GitHub issue

node’s build process installs headers in {prefix}/include/node when running make install, but node-gyp install does download its own copy almost the same. One of them is just an useless extra.

And ./configured headers are better tailored for the local environment usually.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
corcommented, Aug 26, 2022

FYI: When we build this with nix, using nix-npm-buildpackage’s buildNpmPackage we only faced this issue on aarch64 machines.

https://nixos.org/manual/nixpkgs/stable/ section 17.19.6.2.5. Pitfalls contains a workaround.

1reaction
soulne4nycommented, May 13, 2017

export npm_config_nodedir=/path/to/headers

Thanks 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

NodeJS headers on Windows are not installed automatically
The workaround with using of headers from "git clone"-ed "node\deps" worked. However, several days after I found the proper solution which ...
Read more >
Node.js v19.3.0 Documentation
First, make sure to have downloaded and installed Node.js. See Installing Node.js via ... deepEqual(obj1, obj3); // OK // Prototypes are ignored: assert....
Read more >
How To Secure Node.js Applications with a Content Security ...
In this tutorial, you'll review the different protections the CSP header offers by implementing one in an example Node.js application.
Read more >
Library functions available for Node.js canary scripts
Node.js library classes and functions that apply to all canaries ... restrictedHeaders (array)— A list of header values to ignore, if headers are...
Read more >
Node.js agent API | New Relic Documentation
How to use the Node.js API to name, rename, and ignore requests, and to read router names with New Relic's Node.js agent.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found