ankurp/homebridge-pi-thermostat

error: ‘class v8::Object’ has no member named ‘ForceSet’

Opened this issue · 0 comments

Getting error installing the plugin. Guessing downgrading to node.js 8 will fix it
Raspberry Pi 3 model b+
Raspbian
Node.js 10.15.3


make: Entering directory '/usr/lib/node_modules/homebridge-pi-thermostat/node_modules/epoll/build'
  CXX(target) Release/obj.target/epoll/src/epoll.o
In file included from ../node_modules/nan/nan.h:192:0,
                 from ../src/epoll.cc:15:
../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
../node_modules/nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
   return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
               ^~~~~~~~