TooTallNate / ref

Turn Buffer instances into "pointers"
http://tootallnate.github.com/ref
451 stars 141 forks source link

cannot convert from 'v8::Local<v8::Value>' to 'const v8::String::Utf8Value' #105

Open jackieron opened 5 years ago

jackieron commented 5 years ago

hello i build with nw-gyp there is an error and i need you help how to fix this bug : C:\Users\Jackieron.nw-gyp\0.34.0\deps\v8\include\v8.h(2570): note: see declaration of 'v8::Value::Uint32Value' ..\src\binding.cc(360): error C2664: 'v8::String::Utf8Value::Utf8Value(const v8::String::Utf8Value &)': cannot convert argument 1 from 'v8::Local' to 'const v8::String::Utf8Value &' [D:\com\node_modules\ref\build\binding.vcxpro j] ..\src\binding.cc(360): note: Reason: cannot convert from 'v8::Local' to 'const v8::String::Utf8Value' ..\src\binding.cc(360): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called ..\src\binding.cc(447): error C2664: 'v8::String::Utf8Value::Utf8Value(const v8::String::Utf8Value &)': cannot convert argument 1 from 'v8::Local' to 'const v8::String::Utf8Value &' [D:\com\node_modules\ref\build\binding.vcxpro j]