Neo
Neo

Reputation: 117

error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>

I'm trying to install the node.js project and run npm install and got the error

../src/main.cc:137:89: error: no matching function for call to 'v8::Object::Set(v8::Local<v8::String>, Nan::imp::IntegerFactory<v8::Integer>::return_t)'

what is wrong with the project?

the full error is here https://paste.ubuntu.com/p/hJGDfdrKB2/

Upvotes: 4

Views: 10082

Answers (2)

Brajesh Singh
Brajesh Singh

Reputation: 653

downgrading to nodejs-10, worked for me. Hope this will help.

Upvotes: 1

Plasma
Plasma

Reputation: 2902

It looks like the package you are using doesn't support the version of Node you are running. Try running it under Node v8 and see if that corrects the problem. If it does let the package maintainer know it needs updating.

Plasma

Upvotes: 4

Related Questions