Skip to content

fatal error: 'node_internals.h' file not found #15552

Closed

Description

@AndreasMadsen
  • Version: 01c680b
  • Platform: MacOS X
  • Subsystem: addon

Running npm --nodedir=$NODE_BUILD_PATH install native-hdr-histogram causes the error:

/Users/Andreas/node/include/node/node_buffer.h:25:10: fatal error: 'node_internals.h' file not found
#include "node_internals.h"

I think we did something wrong in how we export or setup the headers. It appears to be caused by 290315a

Activity

  1. AndreasMadsen commented on Sep 22, 2017

    @AndreasMadsen
    MemberAuthor
  2. added
    addons
    on Sep 22, 2017
  3. richardlau commented on Sep 22, 2017

    @richardlau
    Member

    Suspect 290315a is the culprit. The refactor appears to have dropped the #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS guard.

  4. self-assigned this
    on Sep 22, 2017
  5. added
    confirmed-bug
    on Sep 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

addonsconfirmed-bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions