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

Error building against electron@4.0.6 #2

Open
sachetsharma1 opened this issue May 15, 2019 · 0 comments
Open

Error building against electron@4.0.6 #2

sachetsharma1 opened this issue May 15, 2019 · 0 comments

Comments

@sachetsharma1
Copy link

I am trying to build it against electron@4.0.6 on Mac OS 10.13.6 but running into following errors:

An unhandled error occurred inside electron-rebuild
CXX(target) Release/obj.target/binding/src/binding.o
../src/binding.cc:360:23: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
String::Utf8Value str(in);
^
.electron-gyp/4.0.6/include/node/v8.h:3006:5: note: 'Utf8Value' has been explicitly marked deprecated here
V8_DEPRECATED("Use Isolate version",
^
electron-gyp/4.0.6/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
declarator attribute((deprecated))
^
../src/binding.cc:435:23: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
String::Utf8Value str(in);
^
electron-gyp/4.0.6/include/node/v8.h:3006:5: note: 'Utf8Value' has been explicitly marked deprecated here
V8_DEPRECATED("Use Isolate version",
^
.electron-gyp/4.0.6/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
declarator attribute((deprecated))
^
../src/binding.cc:619:11: error: no member named 'ForceSet' in 'v8::Object'
target->ForceSet(Nan::Newv8::String("endianness").ToLocalChecked(), Nan::Newv8::String(CheckEndianness()).ToLocalChecked(), static_cast(ReadOnly|DontDelete));

../src/binding.cc:620:11: error: no member named 'ForceSet' in 'v8::Object'
target->ForceSet(Nan::New<v8::String>("NULL").ToLocalChecked(), WrapNullPointer(), static_cast<PropertyAttribute>(ReadOnly|DontDelete));
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