简体   繁体   中英

v8::Value::ToString': no overloaded function takes 0 arguments

I've been trying to npm install this node package module here: https://www.npmjs.com/package/node-dll-injector/v/0.2.3

Which is a bit old but still the code inside is valuable to me. Every time I try to install it with npm install node-dll-injector ; I get errors. More specifically within the cpp core file of the package module.

its not building because: v8::Value::ToString': no overloaded function takes 0 arguments The line of code with the issue: String::Utf8Value arg0(info[0]->ToString());

I believe it has something to do with outdated node version? I need a solution.

It's a newer version of engine itself causes those errors. No parameter versions of those getters were deprecated and apparently were finally dropped for technical reasons ( see code ), but some online sources still list them as viable.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM