cflurin / homebridge-websocket

Homebridge Plugin
Apache License 2.0
40 stars 7 forks source link

Issues installing fresh on Node v10.14.2 #14

Closed brannon-bowden closed 5 years ago

brannon-bowden commented 5 years ago

Attempting a fresh install on node v10.14.2 throws the following error. It is due to dependency issues upstream in the WS library. Updating the package.json to a newer WS version (I used the current 6.1.2), resolves the issue. I am not really sure how else to help with this.

make: Entering directory '/home/node_modules/utf-8-validate/build'
  CXX(target) Release/obj.target/validation/src/validation.o
In file included from ../node_modules/nan/nan.h:190:0,
                 from ../src/validation.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:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
   return obj->ForceSet(GetCurrentContext(), key, value, attribs);
cflurin commented 5 years ago

Hi, I'll update package.json

cflurin commented 5 years ago

ws updated to v6.1.2 homebridge-websocket version 0.2.2 available.