Comme annoncé, ce forum est passé en lecture seule au 1er janvier 2020. Désormais nous vous invitons à vous rendre sur notre nouvelle page communauté :
Image

A très bientôt !

Conflit avec un autre plugin ?

Avatar de l’utilisateur
darghorn
Timide
Messages : 97
Inscription : 08 nov. 2014, 04:35
Localisation : 92

Conflit avec un autre plugin ?

Message par darghorn » 27 août 2019, 08:47

Bonjour à tous,

J'ai depuis hier soir un souci sur homebridge, qui me semble lié (je crois) à l'installation d'un autre plugin, Alexa-API

Le plugin homebridge est tombé hier soir, et depuis impossible de le relancer :

Code : Tout sélectionner

/var/www/html/plugins/homebridge/resources/node_modules/bindings/bindings.js:88
throw e
^
Error: The module '/var/www/html/plugins/homebridge/resources/node_modules/ed25519-hap/build/Release/ed25519.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 57. This version of Node.js requires
NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
at Object.Module._extensions..node (internal/modules/cjs/loader.js:977:18)
at Module.load (internal/modules/cjs/loader.js:790:32)
at Function.Module._load (internal/modules/cjs/loader.js:703:12)
at Module.require (internal/modules/cjs/loader.js:830:19)
at require (internal/modules/cjs/helpers.js:68:18)
at bindings (/var/www/html/plugins/homebridge/resources/node_modules/bindings/bindings.js:81:44)
at Object.<anonymous> (/var/www/html/plugins/homebridge/resources/node_modules/ed25519-hap/index.js:1:37)
at Module._compile (internal/modules/cjs/loader.js:936:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:947:10)
at Module.load (internal/modules/cjs/loader.js:790:32)
Si je comprends bien l'erreur il y a un conflit de version, qui doit être résolu en recopiant à nouveau le module.

Je me suis donc relancé dans l'installation des dépendances, et la ... c'est le drame :

Code : Tout sélectionner

Lancement de l'installation/mise à jour des dépendances homebridge
--20%
Ign:1 http://ftp.fr.debian.org/debian stretch InRelease
Atteint:2 http://security.debian.org/debian-security stretch/updates InRelease
Atteint:3 http://ftp.fr.debian.org/debian stretch-updates InRelease
Atteint:4 http://ftp.fr.debian.org/debian stretch Release
Atteint:5 https://deb.nodesource.com/node_12.x stretch InRelease
Lecture des listes de paquets…
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
apt-utils is already the newest version (1.4.9).
avahi-daemon is already the newest version (0.6.32-2).
avahi-discover is already the newest version (0.6.32-2).
avahi-utils is already the newest version (0.6.32-2).
libavahi-compat-libdnssd-dev is already the newest version (0.6.32-2).
dialog is already the newest version (1.3-20160828-2).
libnss-mdns is already the newest version (0.10-8).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 2 non mis à jour.
--30%
Version actuelle : v12.9.0
Ok, version suffisante
--50%
--60%
Installation de Homebridge...
> curve25519-n@1.4.0 install /var/www/html/plugins/homebridge/resources/node_modules/curve25519-n
> node-gyp rebuild
make : on entre dans le répertoire « /var/www/html/plugins/homebridge/resources/node_modules/curve25519-n/build »
CXX(target) Release/obj.target/curve/node_curve.o
In file included from ../../nan/nan_converters.h:67:0,
from ../../nan/nan.h:221,
from ../node_curve.cc:10:
../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)’:
../../nan/nan_converters_43_inl.h:18:51: warning: ‘v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const’ is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
val->To ## TYPE(isolate->GetCurrentContext())                            \
^
../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
X(Boolean)
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2537:59: note: declared here
V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../../nan/nan_converters.h:67:0,
from ../../nan/nan.h:221,
from ../node_curve.cc:10:
../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)’:
../../nan/nan_converters_43_inl.h:37:57: warning: ‘v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const’ is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations]
return val->NAME ## Value(isolate->GetCurrentContext());                     \
^
../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
X(bool, Boolean)
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2575:51: note: declared here
V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
from ../../nan/nan.h:222,
from ../node_curve.cc:10:
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:
../../nan/nan_implementation_12_inl.h:105:32: error: no matching function for call to ‘v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Object>&)’
, obj));
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/node.h:63:0,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:4138:31: note: candidate: static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)
static MaybeLocal<Function> New(
^~~
/root/.cache/node-gyp/12.9.0/include/node/v8.h:4138:31: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’:
../../nan/nan.h:1064:78: warning: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::String> string = from->ToString(v8::Isolate::GetCurrent());
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2557:31: note: declared here
Local<String> ToString(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
../../nan/nan.h:1855:64: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:3372:22: note: declared here
bool Set(Local<Value> key, Local<Value> value));
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’:
../../nan/nan.h:1861:42: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
New(persistentHandle)->Set(key, value);
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:3372:22: note: declared here
bool Set(Local<Value> key, Local<Value> value));
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’:
../../nan/nan.h:1867:44: warning: ‘bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
New(persistentHandle)->Set(index, value);
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:3381:22: note: declared here
bool Set(uint32_t index, Local<Value> value));
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
../../nan/nan.h:1873:61: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
New(persistentHandle)->Get(New(key).ToLocalChecked()));
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:3425:51: note: declared here
V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const’:
../../nan/nan.h:1879:55: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return scope.Escape(New(persistentHandle)->Get(key));
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:3425:51: note: declared here
V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’:
../../nan/nan.h:1884:57: warning: ‘v8::Local<v8::Value> v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return scope.Escape(New(persistentHandle)->Get(index));
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:3429:51: note: declared here
V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from /usr/include/c++/6/cassert:44:0,
from /root/.cache/node-gyp/12.9.0/include/node/node_object_wrap.h:26,
from ../../nan/nan.h:54,
from ../node_curve.cc:10:
../../nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’:
../../nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
assert(persistent().IsNearDeath());
^
In file included from ../../nan/nan.h:2698:0,
from ../node_curve.cc:10:
../../nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’:
../../nan/nan_object_wrap.h:67:34: warning: ‘void v8::PersistentBase<T>::MarkIndependent() [with T = v8::Object]’ is deprecated: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations]
persistent().MarkIndependent();
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:567:22: note: declared here
V8_INLINE void MarkIndependent());
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from /usr/include/c++/6/cassert:44:0,
from /root/.cache/node-gyp/12.9.0/include/node/node_object_wrap.h:26,
from ../../nan/nan.h:54,
from ../node_curve.cc:10:
../../nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’:
../../nan/nan_object_wrap.h:124:26: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
assert(wrap->handle_.IsNearDeath());
^
../node_curve.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE DoCurve(Nan::NAN_METHOD_ARGS_TYPE)’:
../node_curve.cc:18:79: error: no matching function for call to ‘v8::Value::ToObject()’
unsigned char* arg0 = (unsigned char*) node::Buffer::Data(info[0]->ToObject());
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/node.h:63:0,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2545:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2545:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2559:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2559:31: note:   candidate expects 1 argument, 0 provided
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../node_curve.cc:19:79: error: no matching function for call to ‘v8::Value::ToObject()’
unsigned char* arg1 = (unsigned char*) node::Buffer::Data(info[1]->ToObject());
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/node.h:63:0,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2545:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2545:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2559:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2559:31: note:   candidate expects 1 argument, 0 provided
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../node_curve.cc:20:79: error: no matching function for call to ‘v8::Value::ToObject()’
unsigned char* arg2 = (unsigned char*) node::Buffer::Data(info[2]->ToObject());
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/node.h:63:0,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2545:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2545:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2559:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2559:31: note:   candidate expects 1 argument, 0 provided
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In instantiation of ‘void Nan::imp::SetMethodAux(T, v8::Local<v8::String>, v8::Local<v8::FunctionTemplate>, ...) [with T = v8::Local<v8::Object>]’:
../../nan/nan.h:2394:20:   required from ‘void Nan::SetMethod(HandleType<T>, const char*, Nan::FunctionCallback) [with T = v8::Object; HandleType = v8::Local; Nan::FunctionCallback = void (*)(const Nan::FunctionCallbackInfo<v8::Value>&)]’
../node_curve.cc:26:42:   required from here
../../nan/nan.h:2378:3: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
recv->Set(name, GetFunction(tpl).ToLocalChecked());
^~~~
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:3372:22: note: declared here
bool Set(Local<Value> key, Local<Value> value));
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
curve.target.mk:109 : la recette pour la cible « Release/obj.target/curve/node_curve.o » a échouée
make: *** [Release/obj.target/curve/node_curve.o] Erreur 1
make : on quitte le répertoire « /var/www/html/plugins/homebridge/resources/node_modules/curve25519-n/build »
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:196:23)
gyp ERR! stack     at ChildProcess.emit (events.js:209:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.9.0-8-amd64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/www/html/plugins/homebridge/resources/node_modules/curve25519-n
gyp ERR! node -v v12.9.0
gyp ERR! node-gyp -v v5.0.3
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! curve25519-n@1.4.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the curve25519-n@1.4.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-08-27T06_45_19_467Z-debug.log
--70%
--80%
--90%
Désactivation de avahi-daemon au démarrage...(il démarrera avec le daemon (on contourne le bug de la Smart du 1 jan 1970))
--95%
--100%
Installation des dépendances Homebridge terminée, vérifiez qu'il n'y a pas d'erreur
J'ai tenté comme indiqué le nmp rebuild, mais sans succès ...

Quelqu'un aurait une idée ?
DIY / VM Debian sur ESXi 6.5 - ProLiant MicroServer Gen8
Protocoles : Z-Wave+ / Hue / Xiaomi

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: Conflit avec un autre plugin ?

Message par Nebz » 27 août 2019, 08:49

Tu es en bêta dans un des deux... soit tu dois l'être dans les deux soit aucun


Envoyé de mon iPhone en utilisant Tapatalk
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

Avatar de l’utilisateur
darghorn
Timide
Messages : 97
Inscription : 08 nov. 2014, 04:35
Localisation : 92

Re: Conflit avec un autre plugin ?

Message par darghorn » 27 août 2019, 08:50

En effet Alexa-API est en bêta je confirme.

Impossible donc de rester en l'état ?
DIY / VM Debian sur ESXi 6.5 - ProLiant MicroServer Gen8
Protocoles : Z-Wave+ / Hue / Xiaomi

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: Conflit avec un autre plugin ?

Message par Nebz » 27 août 2019, 08:51

passe homebridge en beta aussi

de toute facon, c'est cette version qui va devenir la stable début septembre
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

Avatar de l’utilisateur
darghorn
Timide
Messages : 97
Inscription : 08 nov. 2014, 04:35
Localisation : 92

Re: Conflit avec un autre plugin ?

Message par darghorn » 27 août 2019, 08:56

Ok c'est fait pour homebridge, mais les dépendances sont toujours KO, il me semble que l'erreur est identique :

Code : Tout sélectionner

--0%
--10%
Lancement de l'installation/mise à jour des dépendances homebridge
--20%
Ign:1 http://ftp.fr.debian.org/debian stretch InRelease
Hit:2 http://security.debian.org/debian-security stretch/updates InRelease
Hit:3 http://ftp.fr.debian.org/debian stretch-updates InRelease
Hit:4 http://ftp.fr.debian.org/debian stretch Release
Hit:5 https://deb.nodesource.com/node_12.x stretch InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
apt-utils is already the newest version (1.4.9).
avahi-daemon is already the newest version (0.6.32-2).
avahi-discover is already the newest version (0.6.32-2).
avahi-utils is already the newest version (0.6.32-2).
libavahi-compat-libdnssd-dev is already the newest version (0.6.32-2).
build-essential is already the newest version (12.3).
dialog is already the newest version (1.3-20160828-2).
libnss-mdns is already the newest version (0.10-8).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
--30%
Version actuelle : v12.9.0
Ok, version suffisante
--50%
--60%
Installation de Homebridge...
> curve25519-n@1.4.0 install /var/www/html/plugins/homebridge/resources/node_modules/curve25519-n
> node-gyp rebuild
make: Entering directory '/var/www/html/plugins/homebridge/resources/node_modules/curve25519-n/build'
CXX(target) Release/obj.target/curve/node_curve.o
In file included from ../../nan/nan_converters.h:67:0,
from ../../nan/nan.h:221,
from ../node_curve.cc:10:
../../nan/nan_converters_43_inl.h: In static member function 'static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)':
../../nan/nan_converters_43_inl.h:18:51: warning: 'v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const' is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
val->To ## TYPE(isolate->GetCurrentContext())                            \
^
../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro 'X'
X(Boolean)
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2537:59: note: declared here
V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../../nan/nan_converters.h:67:0,
from ../../nan/nan.h:221,
from ../node_curve.cc:10:
../../nan/nan_converters_43_inl.h: In static member function 'static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)':
../../nan/nan_converters_43_inl.h:37:57: warning: 'v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const' is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations]
return val->NAME ## Value(isolate->GetCurrentContext());                     \
^
../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro 'X'
X(bool, Boolean)
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2575:51: note: declared here
V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
from ../../nan/nan.h:222,
from ../node_curve.cc:10:
../../nan/nan_implementation_12_inl.h: In static member function 'static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)':
../../nan/nan_implementation_12_inl.h:105:32: error: no matching function for call to 'v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Object>&)'
, obj));
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/node.h:63:0,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:4138:31: note: candidate: static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)
static MaybeLocal<Function> New(
^~~
/root/.cache/node-gyp/12.9.0/include/node/v8.h:4138:31: note:   no known conversion for argument 1 from 'v8::Isolate*' to 'v8::Local<v8::Context>'
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In constructor 'Nan::Utf8String::Utf8String(v8::Local<v8::Value>)':
../../nan/nan.h:1064:78: warning: 'v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const' is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::String> string = from->ToString(v8::Isolate::GetCurrent());
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2557:31: note: declared here
Local<String> ToString(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)':
../../nan/nan.h:1855:64: warning: 'bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:3372:22: note: declared here
bool Set(Local<Value> key, Local<Value> value));
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)':
../../nan/nan.h:1861:42: warning: 'bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
New(persistentHandle)->Set(key, value);
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:3372:22: note: declared here
bool Set(Local<Value> key, Local<Value> value));
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)':
../../nan/nan.h:1867:44: warning: 'bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
New(persistentHandle)->Set(index, value);
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:3381:22: note: declared here
bool Set(uint32_t index, Local<Value> value));
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function 'v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const':
../../nan/nan.h:1873:61: warning: 'v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
New(persistentHandle)->Get(New(key).ToLocalChecked()));
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:3425:51: note: declared here
V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function 'v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const':
../../nan/nan.h:1879:55: warning: 'v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
return scope.Escape(New(persistentHandle)->Get(key));
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:3425:51: note: declared here
V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function 'v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const':
../../nan/nan.h:1884:57: warning: 'v8::Local<v8::Value> v8::Object::Get(uint32_t)' is deprecated: Use maybe version [-Wdeprecated-declarations]
return scope.Escape(New(persistentHandle)->Get(index));
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:3429:51: note: declared here
V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from /usr/include/c++/6/cassert:44:0,
from /root/.cache/node-gyp/12.9.0/include/node/node_object_wrap.h:26,
from ../../nan/nan.h:54,
from ../node_curve.cc:10:
../../nan/nan_object_wrap.h: In destructor 'virtual Nan::ObjectWrap::~ObjectWrap()':
../../nan/nan_object_wrap.h:24:25: error: 'class Nan::Persistent<v8::Object>' has no member named 'IsNearDeath'
assert(persistent().IsNearDeath());
^
In file included from ../../nan/nan.h:2698:0,
from ../node_curve.cc:10:
../../nan/nan_object_wrap.h: In member function 'void Nan::ObjectWrap::MakeWeak()':
../../nan/nan_object_wrap.h:67:34: warning: 'void v8::PersistentBase<T>::MarkIndependent() [with T = v8::Object]' is deprecated: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations]
persistent().MarkIndependent();
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:567:22: note: declared here
V8_INLINE void MarkIndependent());
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from /usr/include/c++/6/cassert:44:0,
from /root/.cache/node-gyp/12.9.0/include/node/node_object_wrap.h:26,
from ../../nan/nan.h:54,
from ../node_curve.cc:10:
../../nan/nan_object_wrap.h: In static member function 'static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)':
../../nan/nan_object_wrap.h:124:26: error: 'class Nan::Persistent<v8::Object>' has no member named 'IsNearDeath'
assert(wrap->handle_.IsNearDeath());
^
../node_curve.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE DoCurve(Nan::NAN_METHOD_ARGS_TYPE)':
../node_curve.cc:18:79: error: no matching function for call to 'v8::Value::ToObject()'
unsigned char* arg0 = (unsigned char*) node::Buffer::Data(info[0]->ToObject());
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/node.h:63:0,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2545:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2545:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2559:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2559:31: note:   candidate expects 1 argument, 0 provided
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../node_curve.cc:19:79: error: no matching function for call to 'v8::Value::ToObject()'
unsigned char* arg1 = (unsigned char*) node::Buffer::Data(info[1]->ToObject());
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/node.h:63:0,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2545:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2545:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2559:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2559:31: note:   candidate expects 1 argument, 0 provided
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../node_curve.cc:20:79: error: no matching function for call to 'v8::Value::ToObject()'
unsigned char* arg2 = (unsigned char*) node::Buffer::Data(info[2]->ToObject());
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/node.h:63:0,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2545:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2545:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2559:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2559:31: note:   candidate expects 1 argument, 0 provided
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In instantiation of 'void Nan::imp::SetMethodAux(T, v8::Local<v8::String>, v8::Local<v8::FunctionTemplate>, ...) [with T = v8::Local<v8::Object>]':
../../nan/nan.h:2394:20:   required from 'void Nan::SetMethod(HandleType<T>, const char*, Nan::FunctionCallback) [with T = v8::Object; HandleType = v8::Local; Nan::FunctionCallback = void (*)(const Nan::FunctionCallbackInfo<v8::Value>&)]'
../node_curve.cc:26:42:   required from here
../../nan/nan.h:2378:3: warning: 'bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
recv->Set(name, GetFunction(tpl).ToLocalChecked());
^~~~
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:3372:22: note: declared here
bool Set(Local<Value> key, Local<Value> value));
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
curve.target.mk:109: recipe for target 'Release/obj.target/curve/node_curve.o' failed
make: *** [Release/obj.target/curve/node_curve.o] Error 1
make: Leaving directory '/var/www/html/plugins/homebridge/resources/node_modules/curve25519-n/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:196:23)
gyp ERR! stack     at ChildProcess.emit (events.js:209:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.9.0-8-amd64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/www/html/plugins/homebridge/resources/node_modules/curve25519-n
gyp ERR! node -v v12.9.0
gyp ERR! node-gyp -v v5.0.3
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! curve25519-n@1.4.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the curve25519-n@1.4.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-08-27T06_53_53_070Z-debug.log
--70%
--80%
--90%
Désactivation de avahi-daemon au démarrage...(il démarrera avec le daemon (on contourne le bug de la Smart du 1 jan 1970))
--95%
--100%
Installation des dépendances Homebridge terminée, vérifiez qu'il n'y a pas d'erreur
DIY / VM Debian sur ESXi 6.5 - ProLiant MicroServer Gen8
Protocoles : Z-Wave+ / Hue / Xiaomi

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: Conflit avec un autre plugin ?

Message par Nebz » 27 août 2019, 08:58

darghorn a écrit :
27 août 2019, 08:56
Ok c'est fait pour homebridge, mais les dépendances sont toujours KO, il me semble que l'erreur est identique :

Code : Tout sélectionner

--0%
--10%
Lancement de l'installation/mise à jour des dépendances homebridge
--20%
Ign:1 http://ftp.fr.debian.org/debian stretch InRelease
Hit:2 http://security.debian.org/debian-security stretch/updates InRelease
Hit:3 http://ftp.fr.debian.org/debian stretch-updates InRelease
Hit:4 http://ftp.fr.debian.org/debian stretch Release
Hit:5 https://deb.nodesource.com/node_12.x stretch InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
apt-utils is already the newest version (1.4.9).
avahi-daemon is already the newest version (0.6.32-2).
avahi-discover is already the newest version (0.6.32-2).
avahi-utils is already the newest version (0.6.32-2).
libavahi-compat-libdnssd-dev is already the newest version (0.6.32-2).
build-essential is already the newest version (12.3).
dialog is already the newest version (1.3-20160828-2).
libnss-mdns is already the newest version (0.10-8).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
--30%
Version actuelle : v12.9.0
Ok, version suffisante
--50%
--60%
Installation de Homebridge...
> curve25519-n@1.4.0 install /var/www/html/plugins/homebridge/resources/node_modules/curve25519-n
> node-gyp rebuild
make: Entering directory '/var/www/html/plugins/homebridge/resources/node_modules/curve25519-n/build'
CXX(target) Release/obj.target/curve/node_curve.o
In file included from ../../nan/nan_converters.h:67:0,
from ../../nan/nan.h:221,
from ../node_curve.cc:10:
../../nan/nan_converters_43_inl.h: In static member function 'static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)':
../../nan/nan_converters_43_inl.h:18:51: warning: 'v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const' is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
val->To ## TYPE(isolate->GetCurrentContext())                            \
^
../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro 'X'
X(Boolean)
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2537:59: note: declared here
V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../../nan/nan_converters.h:67:0,
from ../../nan/nan.h:221,
from ../node_curve.cc:10:
../../nan/nan_converters_43_inl.h: In static member function 'static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)':
../../nan/nan_converters_43_inl.h:37:57: warning: 'v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const' is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations]
return val->NAME ## Value(isolate->GetCurrentContext());                     \
^
../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro 'X'
X(bool, Boolean)
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2575:51: note: declared here
V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
from ../../nan/nan.h:222,
from ../node_curve.cc:10:
../../nan/nan_implementation_12_inl.h: In static member function 'static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)':
../../nan/nan_implementation_12_inl.h:105:32: error: no matching function for call to 'v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Object>&)'
, obj));
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/node.h:63:0,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:4138:31: note: candidate: static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)
static MaybeLocal<Function> New(
^~~
/root/.cache/node-gyp/12.9.0/include/node/v8.h:4138:31: note:   no known conversion for argument 1 from 'v8::Isolate*' to 'v8::Local<v8::Context>'
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In constructor 'Nan::Utf8String::Utf8String(v8::Local<v8::Value>)':
../../nan/nan.h:1064:78: warning: 'v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const' is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::String> string = from->ToString(v8::Isolate::GetCurrent());
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2557:31: note: declared here
Local<String> ToString(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)':
../../nan/nan.h:1855:64: warning: 'bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:3372:22: note: declared here
bool Set(Local<Value> key, Local<Value> value));
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)':
../../nan/nan.h:1861:42: warning: 'bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
New(persistentHandle)->Set(key, value);
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:3372:22: note: declared here
bool Set(Local<Value> key, Local<Value> value));
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)':
../../nan/nan.h:1867:44: warning: 'bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
New(persistentHandle)->Set(index, value);
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:3381:22: note: declared here
bool Set(uint32_t index, Local<Value> value));
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function 'v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const':
../../nan/nan.h:1873:61: warning: 'v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
New(persistentHandle)->Get(New(key).ToLocalChecked()));
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:3425:51: note: declared here
V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function 'v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const':
../../nan/nan.h:1879:55: warning: 'v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
return scope.Escape(New(persistentHandle)->Get(key));
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:3425:51: note: declared here
V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function 'v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const':
../../nan/nan.h:1884:57: warning: 'v8::Local<v8::Value> v8::Object::Get(uint32_t)' is deprecated: Use maybe version [-Wdeprecated-declarations]
return scope.Escape(New(persistentHandle)->Get(index));
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:3429:51: note: declared here
V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from /usr/include/c++/6/cassert:44:0,
from /root/.cache/node-gyp/12.9.0/include/node/node_object_wrap.h:26,
from ../../nan/nan.h:54,
from ../node_curve.cc:10:
../../nan/nan_object_wrap.h: In destructor 'virtual Nan::ObjectWrap::~ObjectWrap()':
../../nan/nan_object_wrap.h:24:25: error: 'class Nan::Persistent<v8::Object>' has no member named 'IsNearDeath'
assert(persistent().IsNearDeath());
^
In file included from ../../nan/nan.h:2698:0,
from ../node_curve.cc:10:
../../nan/nan_object_wrap.h: In member function 'void Nan::ObjectWrap::MakeWeak()':
../../nan/nan_object_wrap.h:67:34: warning: 'void v8::PersistentBase<T>::MarkIndependent() [with T = v8::Object]' is deprecated: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations]
persistent().MarkIndependent();
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:567:22: note: declared here
V8_INLINE void MarkIndependent());
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from /usr/include/c++/6/cassert:44:0,
from /root/.cache/node-gyp/12.9.0/include/node/node_object_wrap.h:26,
from ../../nan/nan.h:54,
from ../node_curve.cc:10:
../../nan/nan_object_wrap.h: In static member function 'static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)':
../../nan/nan_object_wrap.h:124:26: error: 'class Nan::Persistent<v8::Object>' has no member named 'IsNearDeath'
assert(wrap->handle_.IsNearDeath());
^
../node_curve.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE DoCurve(Nan::NAN_METHOD_ARGS_TYPE)':
../node_curve.cc:18:79: error: no matching function for call to 'v8::Value::ToObject()'
unsigned char* arg0 = (unsigned char*) node::Buffer::Data(info[0]->ToObject());
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/node.h:63:0,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2545:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2545:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2559:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2559:31: note:   candidate expects 1 argument, 0 provided
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../node_curve.cc:19:79: error: no matching function for call to 'v8::Value::ToObject()'
unsigned char* arg1 = (unsigned char*) node::Buffer::Data(info[1]->ToObject());
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/node.h:63:0,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2545:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2545:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2559:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2559:31: note:   candidate expects 1 argument, 0 provided
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../node_curve.cc:20:79: error: no matching function for call to 'v8::Value::ToObject()'
unsigned char* arg2 = (unsigned char*) node::Buffer::Data(info[2]->ToObject());
^
In file included from /root/.cache/node-gyp/12.9.0/include/node/node.h:63:0,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2545:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2545:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2559:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.9.0/include/node/v8.h:2559:31: note:   candidate expects 1 argument, 0 provided
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In instantiation of 'void Nan::imp::SetMethodAux(T, v8::Local<v8::String>, v8::Local<v8::FunctionTemplate>, ...) [with T = v8::Local<v8::Object>]':
../../nan/nan.h:2394:20:   required from 'void Nan::SetMethod(HandleType<T>, const char*, Nan::FunctionCallback) [with T = v8::Object; HandleType = v8::Local; Nan::FunctionCallback = void (*)(const Nan::FunctionCallbackInfo<v8::Value>&)]'
../node_curve.cc:26:42:   required from here
../../nan/nan.h:2378:3: warning: 'bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
recv->Set(name, GetFunction(tpl).ToLocalChecked());
^~~~
In file included from /root/.cache/node-gyp/12.9.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.0/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.0/include/node/v8.h:3372:22: note: declared here
bool Set(Local<Value> key, Local<Value> value));
^
/root/.cache/node-gyp/12.9.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
curve.target.mk:109: recipe for target 'Release/obj.target/curve/node_curve.o' failed
make: *** [Release/obj.target/curve/node_curve.o] Error 1
make: Leaving directory '/var/www/html/plugins/homebridge/resources/node_modules/curve25519-n/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:196:23)
gyp ERR! stack     at ChildProcess.emit (events.js:209:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.9.0-8-amd64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/www/html/plugins/homebridge/resources/node_modules/curve25519-n
gyp ERR! node -v v12.9.0
gyp ERR! node-gyp -v v5.0.3
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! curve25519-n@1.4.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the curve25519-n@1.4.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-08-27T06_53_53_070Z-debug.log
--70%
--80%
--90%
Désactivation de avahi-daemon au démarrage...(il démarrera avec le daemon (on contourne le bug de la Smart du 1 jan 1970))
--95%
--100%
Installation des dépendances Homebridge terminée, vérifiez qu'il n'y a pas d'erreur
tu dois lancer une "réparation et réinstallation"
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

Avatar de l’utilisateur
darghorn
Timide
Messages : 97
Inscription : 08 nov. 2014, 04:35
Localisation : 92

Re: Conflit avec un autre plugin ?

Message par darghorn » 27 août 2019, 09:02

Ok merci
Il a bien réinstallé nodejs, mais j'ai la même erreur à la fin :

Code : Tout sélectionner

--0%
--10%
Lancement de l'installation/mise à jour des dépendances homebridge
--20%
Ign:1 http://ftp.fr.debian.org/debian stretch InRelease
Hit:2 http://ftp.fr.debian.org/debian stretch-updates InRelease
Hit:3 http://ftp.fr.debian.org/debian stretch Release
Hit:4 http://security.debian.org/debian-security stretch/updates InRelease
Hit:5 https://deb.nodesource.com/node_12.x stretch InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
apt-utils is already the newest version (1.4.9).
avahi-daemon is already the newest version (0.6.32-2).
avahi-discover is already the newest version (0.6.32-2).
avahi-utils is already the newest version (0.6.32-2).
libavahi-compat-libdnssd-dev is already the newest version (0.6.32-2).
build-essential is already the newest version (12.3).
dialog is already the newest version (1.3-20160828-2).
libnss-mdns is already the newest version (0.10-8).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
--30%
Version actuelle :
--40%
KO, version obsolète à upgrader
Suppression du Nodejs existant et installation du paquet recommandé
Reading package lists...
Building dependency tree...
Reading state information...
Package 'nodejs' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
--45%
Utilisation du dépot officiel
## Installing the NodeSource Node.js 12.x repo...
## Populating apt-get cache...
+ apt-get update
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://ftp.fr.debian.org/debian stretch InRelease
Hit:3 http://ftp.fr.debian.org/debian stretch-updates InRelease
Hit:4 http://ftp.fr.debian.org/debian stretch Release
Hit:5 https://deb.nodesource.com/node_12.x stretch InRelease
Reading package lists...
## Confirming "stretch" is supported...
+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/stretch/Release'
## Adding the NodeSource signing key to your keyring...
+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
Warning: apt-key output should not be parsed (stdout is not a terminal)
OK
## Creating apt sources list file for the NodeSource Node.js 12.x repo...
+ echo 'deb https://deb.nodesource.com/node_12.x stretch main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src https://deb.nodesource.com/node_12.x stretch main' >> /etc/apt/sources.list.d/nodesource.list
## Running `apt-get update` for you...
+ apt-get update
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://ftp.fr.debian.org/debian stretch InRelease
Hit:3 http://ftp.fr.debian.org/debian stretch-updates InRelease
Hit:4 http://ftp.fr.debian.org/debian stretch Release
Hit:5 https://deb.nodesource.com/node_12.x stretch InRelease
Reading package lists...
## Run `sudo apt-get install -y nodejs` to install Node.js 12.x and npm
## You may also need development tools to build native addons:
sudo apt-get install gcc g++ make
## To install the Yarn package manager, run:
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
nodejs
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 17.0 MB of archives.
After this operation, 82.3 MB of additional disk space will be used.
Get:1 https://deb.nodesource.com/node_12.x stretch/main amd64 nodejs amd64 12.9.1-1nodesource1 [17.0 MB]
Fetched 17.0 MB in 1s (10.6 MB/s)
Selecting previously unselected package nodejs.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 62457 files and directories currently installed.)
Preparing to unpack .../nodejs_12.9.1-1nodesource1_amd64.deb ...
Detected old npm client, removing...
Unpacking nodejs (12.9.1-1nodesource1) ...
Setting up nodejs (12.9.1-1nodesource1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Version actuelle : v12.9.1
--50%
--60%
Installation de Homebridge...
> curve25519-n@1.4.0 install /var/www/html/plugins/homebridge/resources/node_modules/curve25519-n
> node-gyp rebuild
make: Entering directory '/var/www/html/plugins/homebridge/resources/node_modules/curve25519-n/build'
CXX(target) Release/obj.target/curve/node_curve.o
In file included from ../../nan/nan_converters.h:67:0,
from ../../nan/nan.h:221,
from ../node_curve.cc:10:
../../nan/nan_converters_43_inl.h: In static member function 'static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)':
../../nan/nan_converters_43_inl.h:18:51: warning: 'v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const' is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
val->To ## TYPE(isolate->GetCurrentContext())                            \
^
../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro 'X'
X(Boolean)
^
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2537:59: note: declared here
V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../../nan/nan_converters.h:67:0,
from ../../nan/nan.h:221,
from ../node_curve.cc:10:
../../nan/nan_converters_43_inl.h: In static member function 'static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)':
../../nan/nan_converters_43_inl.h:37:57: warning: 'v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const' is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations]
return val->NAME ## Value(isolate->GetCurrentContext());                     \
^
../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro 'X'
X(bool, Boolean)
^
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2575:51: note: declared here
V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
from ../../nan/nan.h:222,
from ../node_curve.cc:10:
../../nan/nan_implementation_12_inl.h: In static member function 'static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)':
../../nan/nan_implementation_12_inl.h:105:32: error: no matching function for call to 'v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Object>&)'
, obj));
^
In file included from /root/.cache/node-gyp/12.9.1/include/node/node.h:63:0,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:4138:31: note: candidate: static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)
static MaybeLocal<Function> New(
^~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:4138:31: note:   no known conversion for argument 1 from 'v8::Isolate*' to 'v8::Local<v8::Context>'
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In constructor 'Nan::Utf8String::Utf8String(v8::Local<v8::Value>)':
../../nan/nan.h:1064:78: warning: 'v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const' is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::String> string = from->ToString(v8::Isolate::GetCurrent());
^
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2557:31: note: declared here
Local<String> ToString(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)':
../../nan/nan.h:1855:64: warning: 'bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
^
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:3372:22: note: declared here
bool Set(Local<Value> key, Local<Value> value));
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)':
../../nan/nan.h:1861:42: warning: 'bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
New(persistentHandle)->Set(key, value);
^
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:3372:22: note: declared here
bool Set(Local<Value> key, Local<Value> value));
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)':
../../nan/nan.h:1867:44: warning: 'bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
New(persistentHandle)->Set(index, value);
^
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:3381:22: note: declared here
bool Set(uint32_t index, Local<Value> value));
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function 'v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const':
../../nan/nan.h:1873:61: warning: 'v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
New(persistentHandle)->Get(New(key).ToLocalChecked()));
^
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:3425:51: note: declared here
V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function 'v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const':
../../nan/nan.h:1879:55: warning: 'v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
return scope.Escape(New(persistentHandle)->Get(key));
^
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:3425:51: note: declared here
V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function 'v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const':
../../nan/nan.h:1884:57: warning: 'v8::Local<v8::Value> v8::Object::Get(uint32_t)' is deprecated: Use maybe version [-Wdeprecated-declarations]
return scope.Escape(New(persistentHandle)->Get(index));
^
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:3429:51: note: declared here
V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from /usr/include/c++/6/cassert:44:0,
from /root/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:26,
from ../../nan/nan.h:54,
from ../node_curve.cc:10:
../../nan/nan_object_wrap.h: In destructor 'virtual Nan::ObjectWrap::~ObjectWrap()':
../../nan/nan_object_wrap.h:24:25: error: 'class Nan::Persistent<v8::Object>' has no member named 'IsNearDeath'
assert(persistent().IsNearDeath());
^
In file included from ../../nan/nan.h:2698:0,
from ../node_curve.cc:10:
../../nan/nan_object_wrap.h: In member function 'void Nan::ObjectWrap::MakeWeak()':
../../nan/nan_object_wrap.h:67:34: warning: 'void v8::PersistentBase<T>::MarkIndependent() [with T = v8::Object]' is deprecated: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations]
persistent().MarkIndependent();
^
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:567:22: note: declared here
V8_INLINE void MarkIndependent());
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from /usr/include/c++/6/cassert:44:0,
from /root/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:26,
from ../../nan/nan.h:54,
from ../node_curve.cc:10:
../../nan/nan_object_wrap.h: In static member function 'static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)':
../../nan/nan_object_wrap.h:124:26: error: 'class Nan::Persistent<v8::Object>' has no member named 'IsNearDeath'
assert(wrap->handle_.IsNearDeath());
^
../node_curve.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE DoCurve(Nan::NAN_METHOD_ARGS_TYPE)':
../node_curve.cc:18:79: error: no matching function for call to 'v8::Value::ToObject()'
unsigned char* arg0 = (unsigned char*) node::Buffer::Data(info[0]->ToObject());
^
In file included from /root/.cache/node-gyp/12.9.1/include/node/node.h:63:0,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: note:   candidate expects 1 argument, 0 provided
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../node_curve.cc:19:79: error: no matching function for call to 'v8::Value::ToObject()'
unsigned char* arg1 = (unsigned char*) node::Buffer::Data(info[1]->ToObject());
^
In file included from /root/.cache/node-gyp/12.9.1/include/node/node.h:63:0,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: note:   candidate expects 1 argument, 0 provided
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../node_curve.cc:20:79: error: no matching function for call to 'v8::Value::ToObject()'
unsigned char* arg2 = (unsigned char*) node::Buffer::Data(info[2]->ToObject());
^
In file included from /root/.cache/node-gyp/12.9.1/include/node/node.h:63:0,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: note:   candidate expects 1 argument, 0 provided
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In instantiation of 'void Nan::imp::SetMethodAux(T, v8::Local<v8::String>, v8::Local<v8::FunctionTemplate>, ...) [with T = v8::Local<v8::Object>]':
../../nan/nan.h:2394:20:   required from 'void Nan::SetMethod(HandleType<T>, const char*, Nan::FunctionCallback) [with T = v8::Object; HandleType = v8::Local; Nan::FunctionCallback = void (*)(const Nan::FunctionCallbackInfo<v8::Value>&)]'
../node_curve.cc:26:42:   required from here
../../nan/nan.h:2378:3: warning: 'bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
recv->Set(name, GetFunction(tpl).ToLocalChecked());
^~~~
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:3372:22: note: declared here
bool Set(Local<Value> key, Local<Value> value));
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
curve.target.mk:109: recipe for target 'Release/obj.target/curve/node_curve.o' failed
make: *** [Release/obj.target/curve/node_curve.o] Error 1
make: Leaving directory '/var/www/html/plugins/homebridge/resources/node_modules/curve25519-n/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:196:23)
gyp ERR! stack     at ChildProcess.emit (events.js:209:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.9.0-8-amd64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/www/html/plugins/homebridge/resources/node_modules/curve25519-n
gyp ERR! node -v v12.9.1
gyp ERR! node-gyp -v v5.0.3
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! curve25519-n@1.4.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the curve25519-n@1.4.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-08-27T06_59_26_004Z-debug.log
--70%
--80%
--90%
Désactivation de avahi-daemon au démarrage...(il démarrera avec le daemon (on contourne le bug de la Smart du 1 jan 1970))
--95%
--100%
Installation des dépendances Homebridge terminée, vérifiez qu'il n'y a pas d'erreur
DIY / VM Debian sur ESXi 6.5 - ProLiant MicroServer Gen8
Protocoles : Z-Wave+ / Hue / Xiaomi

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: Conflit avec un autre plugin ?

Message par Nebz » 27 août 2019, 09:13

je viens de le faire chez moi, aucun problème sur un stretch raspberry pi

ca vient probablement de ton système, tu peux virer /root/.cache et puis faire une reparation réinstallation à nouveau ?
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

Avatar de l’utilisateur
darghorn
Timide
Messages : 97
Inscription : 08 nov. 2014, 04:35
Localisation : 92

Re: Conflit avec un autre plugin ?

Message par darghorn » 27 août 2019, 09:22

Hélas pas plus d'effet :(
DIY / VM Debian sur ESXi 6.5 - ProLiant MicroServer Gen8
Protocoles : Z-Wave+ / Hue / Xiaomi

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: Conflit avec un autre plugin ?

Message par Nebz » 27 août 2019, 09:23

et les logs sont exactement les memes ?
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

Avatar de l’utilisateur
darghorn
Timide
Messages : 97
Inscription : 08 nov. 2014, 04:35
Localisation : 92

Re: Conflit avec un autre plugin ?

Message par darghorn » 27 août 2019, 09:24

A priori oui il me semble :

Code : Tout sélectionner

--0%
--10%
Lancement de l'installation/mise à jour des dépendances homebridge
--20%
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://ftp.fr.debian.org/debian stretch InRelease
Hit:3 http://ftp.fr.debian.org/debian stretch-updates InRelease
Hit:4 http://ftp.fr.debian.org/debian stretch Release
Hit:5 https://deb.nodesource.com/node_12.x stretch InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
apt-utils is already the newest version (1.4.9).
avahi-daemon is already the newest version (0.6.32-2).
avahi-discover is already the newest version (0.6.32-2).
avahi-utils is already the newest version (0.6.32-2).
libavahi-compat-libdnssd-dev is already the newest version (0.6.32-2).
build-essential is already the newest version (12.3).
dialog is already the newest version (1.3-20160828-2).
libnss-mdns is already the newest version (0.10-8).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
--30%
Version actuelle :
--40%
KO, version obsolète à upgrader
Suppression du Nodejs existant et installation du paquet recommandé
Reading package lists...
Building dependency tree...
Reading state information...
Package 'nodejs' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
--45%
Utilisation du dépot officiel
## Installing the NodeSource Node.js 12.x repo...
## Populating apt-get cache...
+ apt-get update
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://ftp.fr.debian.org/debian stretch InRelease
Hit:3 http://ftp.fr.debian.org/debian stretch-updates InRelease
Hit:4 http://ftp.fr.debian.org/debian stretch Release
Hit:5 https://deb.nodesource.com/node_12.x stretch InRelease
Reading package lists...
## Confirming "stretch" is supported...
+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/stretch/Release'
## Adding the NodeSource signing key to your keyring...
+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
Warning: apt-key output should not be parsed (stdout is not a terminal)
OK
## Creating apt sources list file for the NodeSource Node.js 12.x repo...
+ echo 'deb https://deb.nodesource.com/node_12.x stretch main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src https://deb.nodesource.com/node_12.x stretch main' >> /etc/apt/sources.list.d/nodesource.list
## Running `apt-get update` for you...
+ apt-get update
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://ftp.fr.debian.org/debian stretch InRelease
Hit:3 http://ftp.fr.debian.org/debian stretch-updates InRelease
Hit:4 https://deb.nodesource.com/node_12.x stretch InRelease
Hit:5 http://ftp.fr.debian.org/debian stretch Release
Reading package lists...
## Run `sudo apt-get install -y nodejs` to install Node.js 12.x and npm
## You may also need development tools to build native addons:
sudo apt-get install gcc g++ make
## To install the Yarn package manager, run:
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
nodejs
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/17.0 MB of archives.
After this operation, 82.3 MB of additional disk space will be used.
Selecting previously unselected package nodejs.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 62457 files and directories currently installed.)
Preparing to unpack .../nodejs_12.9.1-1nodesource1_amd64.deb ...
Detected old npm client, removing...
Unpacking nodejs (12.9.1-1nodesource1) ...
Setting up nodejs (12.9.1-1nodesource1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Version actuelle : v12.9.1
--50%
--60%
Installation de Homebridge...
> curve25519-n@1.4.0 install /var/www/html/plugins/homebridge/resources/node_modules/curve25519-n
> node-gyp rebuild
make: Entering directory '/var/www/html/plugins/homebridge/resources/node_modules/curve25519-n/build'
CXX(target) Release/obj.target/curve/node_curve.o
In file included from ../../nan/nan_converters.h:67:0,
from ../../nan/nan.h:221,
from ../node_curve.cc:10:
../../nan/nan_converters_43_inl.h: In static member function 'static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)':
../../nan/nan_converters_43_inl.h:18:51: warning: 'v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const' is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
val->To ## TYPE(isolate->GetCurrentContext())                            \
^
../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro 'X'
X(Boolean)
^
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2537:59: note: declared here
V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../../nan/nan_converters.h:67:0,
from ../../nan/nan.h:221,
from ../node_curve.cc:10:
../../nan/nan_converters_43_inl.h: In static member function 'static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)':
../../nan/nan_converters_43_inl.h:37:57: warning: 'v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const' is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations]
return val->NAME ## Value(isolate->GetCurrentContext());                     \
^
../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro 'X'
X(bool, Boolean)
^
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2575:51: note: declared here
V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
from ../../nan/nan.h:222,
from ../node_curve.cc:10:
../../nan/nan_implementation_12_inl.h: In static member function 'static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)':
../../nan/nan_implementation_12_inl.h:105:32: error: no matching function for call to 'v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Object>&)'
, obj));
^
In file included from /root/.cache/node-gyp/12.9.1/include/node/node.h:63:0,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:4138:31: note: candidate: static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)
static MaybeLocal<Function> New(
^~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:4138:31: note:   no known conversion for argument 1 from 'v8::Isolate*' to 'v8::Local<v8::Context>'
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In constructor 'Nan::Utf8String::Utf8String(v8::Local<v8::Value>)':
../../nan/nan.h:1064:78: warning: 'v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const' is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::String> string = from->ToString(v8::Isolate::GetCurrent());
^
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2557:31: note: declared here
Local<String> ToString(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)':
../../nan/nan.h:1855:64: warning: 'bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
^
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:3372:22: note: declared here
bool Set(Local<Value> key, Local<Value> value));
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)':
../../nan/nan.h:1861:42: warning: 'bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
New(persistentHandle)->Set(key, value);
^
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:3372:22: note: declared here
bool Set(Local<Value> key, Local<Value> value));
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)':
../../nan/nan.h:1867:44: warning: 'bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
New(persistentHandle)->Set(index, value);
^
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:3381:22: note: declared here
bool Set(uint32_t index, Local<Value> value));
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function 'v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const':
../../nan/nan.h:1873:61: warning: 'v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
New(persistentHandle)->Get(New(key).ToLocalChecked()));
^
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:3425:51: note: declared here
V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function 'v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const':
../../nan/nan.h:1879:55: warning: 'v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
return scope.Escape(New(persistentHandle)->Get(key));
^
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:3425:51: note: declared here
V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In member function 'v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const':
../../nan/nan.h:1884:57: warning: 'v8::Local<v8::Value> v8::Object::Get(uint32_t)' is deprecated: Use maybe version [-Wdeprecated-declarations]
return scope.Escape(New(persistentHandle)->Get(index));
^
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:3429:51: note: declared here
V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from /usr/include/c++/6/cassert:44:0,
from /root/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:26,
from ../../nan/nan.h:54,
from ../node_curve.cc:10:
../../nan/nan_object_wrap.h: In destructor 'virtual Nan::ObjectWrap::~ObjectWrap()':
../../nan/nan_object_wrap.h:24:25: error: 'class Nan::Persistent<v8::Object>' has no member named 'IsNearDeath'
assert(persistent().IsNearDeath());
^
In file included from ../../nan/nan.h:2698:0,
from ../node_curve.cc:10:
../../nan/nan_object_wrap.h: In member function 'void Nan::ObjectWrap::MakeWeak()':
../../nan/nan_object_wrap.h:67:34: warning: 'void v8::PersistentBase<T>::MarkIndependent() [with T = v8::Object]' is deprecated: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations]
persistent().MarkIndependent();
^
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:567:22: note: declared here
V8_INLINE void MarkIndependent());
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from /usr/include/c++/6/cassert:44:0,
from /root/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:26,
from ../../nan/nan.h:54,
from ../node_curve.cc:10:
../../nan/nan_object_wrap.h: In static member function 'static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)':
../../nan/nan_object_wrap.h:124:26: error: 'class Nan::Persistent<v8::Object>' has no member named 'IsNearDeath'
assert(wrap->handle_.IsNearDeath());
^
../node_curve.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE DoCurve(Nan::NAN_METHOD_ARGS_TYPE)':
../node_curve.cc:18:79: error: no matching function for call to 'v8::Value::ToObject()'
unsigned char* arg0 = (unsigned char*) node::Buffer::Data(info[0]->ToObject());
^
In file included from /root/.cache/node-gyp/12.9.1/include/node/node.h:63:0,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: note:   candidate expects 1 argument, 0 provided
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../node_curve.cc:19:79: error: no matching function for call to 'v8::Value::ToObject()'
unsigned char* arg1 = (unsigned char*) node::Buffer::Data(info[1]->ToObject());
^
In file included from /root/.cache/node-gyp/12.9.1/include/node/node.h:63:0,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: note:   candidate expects 1 argument, 0 provided
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../node_curve.cc:20:79: error: no matching function for call to 'v8::Value::ToObject()'
unsigned char* arg2 = (unsigned char*) node::Buffer::Data(info[2]->ToObject());
^
In file included from /root/.cache/node-gyp/12.9.1/include/node/node.h:63:0,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: note:   candidate expects 1 argument, 0 provided
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_curve.cc:10:0:
../../nan/nan.h: In instantiation of 'void Nan::imp::SetMethodAux(T, v8::Local<v8::String>, v8::Local<v8::FunctionTemplate>, ...) [with T = v8::Local<v8::Object>]':
../../nan/nan.h:2394:20:   required from 'void Nan::SetMethod(HandleType<T>, const char*, Nan::FunctionCallback) [with T = v8::Object; HandleType = v8::Local; Nan::FunctionCallback = void (*)(const Nan::FunctionCallbackInfo<v8::Value>&)]'
../node_curve.cc:26:42:   required from here
../../nan/nan.h:2378:3: warning: 'bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
recv->Set(name, GetFunction(tpl).ToLocalChecked());
^~~~
In file included from /root/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.9.1/include/node/v8.h:25,
from /root/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../../nan/nan.h:52,
from ../node_curve.cc:10:
/root/.cache/node-gyp/12.9.1/include/node/v8.h:3372:22: note: declared here
bool Set(Local<Value> key, Local<Value> value));
^
/root/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
curve.target.mk:109: recipe for target 'Release/obj.target/curve/node_curve.o' failed
make: *** [Release/obj.target/curve/node_curve.o] Error 1
make: Leaving directory '/var/www/html/plugins/homebridge/resources/node_modules/curve25519-n/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:196:23)
gyp ERR! stack     at ChildProcess.emit (events.js:209:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.9.0-8-amd64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/www/html/plugins/homebridge/resources/node_modules/curve25519-n
gyp ERR! node -v v12.9.1
gyp ERR! node-gyp -v v5.0.3
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! curve25519-n@1.4.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the curve25519-n@1.4.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-08-27T07_21_30_877Z-debug.log
--70%
--80%
--90%
Désactivation de avahi-daemon au démarrage...(il démarrera avec le daemon (on contourne le bug de la Smart du 1 jan 1970))
--95%
--100%
Installation des dépendances Homebridge terminée, vérifiez qu'il n'y a pas d'erreur
DIY / VM Debian sur ESXi 6.5 - ProLiant MicroServer Gen8
Protocoles : Z-Wave+ / Hue / Xiaomi

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: Conflit avec un autre plugin ?

Message par Nebz » 27 août 2019, 09:24

on dirait que tu as encore une 8 qui traine sur ton système
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

Avatar de l’utilisateur
darghorn
Timide
Messages : 97
Inscription : 08 nov. 2014, 04:35
Localisation : 92

Re: Conflit avec un autre plugin ?

Message par darghorn » 27 août 2019, 09:30

Ca sent la restauration sur un système propre je crois :)
DIY / VM Debian sur ESXi 6.5 - ProLiant MicroServer Gen8
Protocoles : Z-Wave+ / Hue / Xiaomi

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: Conflit avec un autre plugin ?

Message par Nebz » 27 août 2019, 09:36

si tu peux le faire (tu as des vm non ?) ca serait peut-etre bien...
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

Avatar de l’utilisateur
darghorn
Timide
Messages : 97
Inscription : 08 nov. 2014, 04:35
Localisation : 92

Re: Conflit avec un autre plugin ?

Message par darghorn » 27 août 2019, 09:38

Yes je suis sur Vm ça ne me prend pas longtemps

Merci pour ton aide en tout cas, je te tiens au courant ;)
DIY / VM Debian sur ESXi 6.5 - ProLiant MicroServer Gen8
Protocoles : Z-Wave+ / Hue / Xiaomi

Avatar de l’utilisateur
darghorn
Timide
Messages : 97
Inscription : 08 nov. 2014, 04:35
Localisation : 92

Re: Conflit avec un autre plugin ?

Message par darghorn » 27 août 2019, 09:45

Bon et bien en fait en faisant une suppression manuelle de nodejs, tout semble rentré dans l'ordre :)
DIY / VM Debian sur ESXi 6.5 - ProLiant MicroServer Gen8
Protocoles : Z-Wave+ / Hue / Xiaomi

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: Conflit avec un autre plugin ?

Message par Nebz » 27 août 2019, 09:46

tu avais donc bien qqch qui trainait, tu as fait quoi exactement ?
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

Avatar de l’utilisateur
darghorn
Timide
Messages : 97
Inscription : 08 nov. 2014, 04:35
Localisation : 92

Re: Conflit avec un autre plugin ?

Message par darghorn » 27 août 2019, 10:04

Juste un simple sudo apt-get purge nodejs
DIY / VM Debian sur ESXi 6.5 - ProLiant MicroServer Gen8
Protocoles : Z-Wave+ / Hue / Xiaomi

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: Conflit avec un autre plugin ?

Message par Nebz » 27 août 2019, 10:05

ok je vais l'ajouter à mon code au cas ou ;)
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: Conflit avec un autre plugin ?

Message par Nebz » 27 août 2019, 10:06

ah ben je le fait deja juste avant le pourcentage 45

Code : Tout sélectionner

  sudo apt-get -y --purge autoremove nodejs npm
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

Répondre

Revenir vers « [Plugin Tiers] Homebridge »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 5 invités