Closed daniellizik closed 5 years ago
10.13.6
3.0.11
1.8.2
$ NODE_ENV=development electron-rebuild && electron src/index An unhandled error occurred inside electron-rebuild CXX(target) Release/obj.target/BluetoothSerialPort/src/osx/DeviceINQ.o In file included from ../src/osx/DeviceINQ.mm:14: ../node_modules/nan/nan.h:1081:96: error: too many arguments to function call, expected at most 4, have5 length_ = string->WriteUtf8(v8::Isolate::GetCurrent(), str_, static_cast<int>(len), 0, flags); ~~~~~~~~~~~~~~~~~ ^~~~~ /Users/daniellizik/.electron-gyp/.node-gyp/iojs-3.0.11/deps/v8/include/v8.h:2590:3: note: 'WriteUtf8' declared here int WriteUtf8(char* buffer, ^ ../src/osx/DeviceINQ.mm:75:16: warning: 'Call' is deprecated [-Wdeprecated-declarations] found->Call(2, argv); ^ ../node_modules/nan/nan.h:1657:3: note: 'Call' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local<v8::Value> ^ ../node_modules/nan/nan.h:103:40: note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __attribute__((deprecated)) ^ ../src/osx/DeviceINQ.mm:78:15: warning: 'Call' is deprecated [-Wdeprecated-declarations] callback->Call(0, 0); ^ ../node_modules/nan/nan.h:1657:3: note: 'Call' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local<v8::Value> ^ ../node_modules/nan/nan.h:103:40: note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __attribute__((deprecated)) ^ ../src/osx/DeviceINQ.mm:109:16: warning: 'Call' is deprecated [-Wdeprecated-declarations] baton->cb->Call(1, argv); ^ ../node_modules/nan/nan.h:1657:3: note: 'Call' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local<v8::Value> ^ ../node_modules/nan/nan.h:103:40: note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __attribute__((deprecated)) ^ ../src/osx/DeviceINQ.mm:228:16: warning: 'Call' is deprecated [-Wdeprecated-declarations] found->Call(2, argv); ^ ../node_modules/nan/nan.h:1657:3: note: 'Call' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local<v8::Value> ^ ../node_modules/nan/nan.h:103:40: note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __attribute__((deprecated)) ^ ../src/osx/DeviceINQ.mm:231:15: warning: 'Call' is deprecated [-Wdeprecated-declarations] callback->Call(0, 0); ^ ../node_modules/nan/nan.h:1657:3: note: 'Call' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local<v8::Value> ^ ../node_modules/nan/nan.h:103:40: note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __attribute__((deprecated)) ^ ../src/osx/DeviceINQ.mm:246:23: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations] String::Utf8Value address(info[0]); ^ /Users/daniellizik/.electron-gyp/.node-gyp/iojs-3.0.11/deps/v8/include/v8.h:2819:5: note: 'Utf8Value' has been explicitly marked deprecated here V8_DEPRECATED("Use Isolate version", ^ /Users/daniellizik/.electron-gyp/.node-gyp/iojs-3.0.11/deps/v8/include/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated))
Issue caused by: (https://github.com/nodejs/nan/issues/832)
10.13.6
3.0.11
1.8.2