Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vhammond-inap opened this issue Apr 27, 2020 · 0 comments

Comments

@vhammond-inap
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant