Skip to content

Not building on node 8.2.1 #99

Closed
Closed

Description

@mcollina
In file included from /Users/matteo/Repositories/native-hdr-histogram/node_modules/node-addon-api/napi.h:1447:
/Users/matteo/Repositories/native-hdr-histogram/node_modules/node-addon-api/napi-inl.h:1461:20: error: no matching function for call to 'napi_create_type_error'
          status = napi_create_type_error(env, nullptr, message, &error);
                   ^~~~~~~~~~~~~~~~~~~~~~

I think this is due to a semver-major change happening in core for the new error codes. In case such events happen again, this module should be released to NPM after the change lands in a release.

Activity

  1. jasongin commented on Aug 2, 2017

    @jasongin
    Member

    The node-addon-api is in sync with the latest in node master. The problem is that breaking change didn't make it into an 8.x release yet. This will resolve itself in time.

  2. jasongin commented on Aug 2, 2017

    @jasongin
    Member

    What I meant was, the change was merged into the node 8.x branch last week, so it should be in the v8.3.0 release.

  3. mhdawson commented on Aug 17, 2017

    @mhdawson
    Member

    Thats probably my fault as I'm generally using master versus the releases but most module maintainers are going to be using the official releases. An earlier version would probably work, but its not necessarily easy for maintainers to know. We should only have 1-2 more cases where this happens as we should be locking things down within a few weeks.

  4. mcollina commented on Aug 18, 2017

    @mcollina
    SponsorMemberAuthor

    We should have a strategy to support node versions until we freeze the API.

  5. mhdawson commented on Oct 23, 2017

    @mhdawson
    Member

    I think we can close this, please re-open if that is not the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions