Skip to content

gyp fails with: error: no matching function for call to ‘v8::Value::ToUint32()’ #14

Description

@vhammond-inap

After running npm install iptrie with node 10.15.2 and npm 5.8.0

../src/iptrie.cc:181:42: error: no matching function for call to ‘v8::Value::ToUint32()’
int prefix_len = args[1]->ToUint32()->Value();

I patched my local like so

  •  int prefix_len = args[1]->ToUint32()->Value();
    
  •  int prefix_len = args[1]->IntegerValue();
    

on lines 182 and 211 (diff attached)

git-diff.txt

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions