Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

npm install fails with Node 12 #75

Closed

Description

@akurtakov

Description

npm install with Node 12 fails

Steps to Reproduce

  1. clone the repo
  2. make sure you are using Node 12.x
  3. npm install

Expected behavior:

Installs just fine

Actual behavior:

../src/bindings/marker-index-wrapper.cc:350:43: error: no matching function for call to ‘v8::Integer::NumberValue()’
350 | max_count = js_max_count->NumberValue();
| ^
Is the last error but there are previous too.

Reproduces how often:

Always

Versions

Current master

Activity

  1. Arcanemagus commented on Jun 27, 2019

    @Arcanemagus

    Work is currently underway on this in #72.

  2. akurtakov commented on Jul 29, 2019

    @akurtakov
    Author

    So next thing is - when is release with this patch planned so it can be freely used on Node 12?

  3. akurtakov commented on Aug 26, 2019

    @akurtakov
    Author

    Please cut out new release.

  4. smackesey commented on Oct 13, 2020

    @smackesey

    Is this library supposed to be compatible with newer Node versions? I am trying to do some contributions for node-tree-sitter but its dependency makes my npm install fail. I'm on Node 14.

  5. DeeDeeG commented on Dec 2, 2020

    @DeeDeeG

    This should be fixed now. CI is testing with 12.14.1 and passing (if you disregard CircleCI, which isn't running).

  6. aminya commented on Dec 5, 2020

    @aminya
    Contributor

    This should be closed. It is already fixed.

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