Ce Forum passera en lecture seule en janvier 2020
Image
Merci de vous rendre sur https://community.jeedom.com maintenant pour vos prochains postes ;)

Conflit avec un autre plugin ?

Modérateur : Nebz

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

Re: Conflit avec un autre plugin ?

Message par Nebz » 28 août 2019, 11:05

ok je vais deleter ces dossiers manuellement,

met à jour homebridge
relance les dep
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 :)

Dautrip
Timide
Messages : 48
Inscription : 26 sept. 2017, 06:56

Re: Conflit avec un autre plugin ?

Message par Dautrip » 28 août 2019, 11:13

Toujours pareil, dois-je vous proposer l'accès direct ?

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

Re: Conflit avec un autre plugin ?

Message par Nebz » 28 août 2019, 11:14

acces en ssh ca serait bien (je suis pas de jeedom donc ne pourrai pas utiliser l'acces du support), envoi moi en privé

et aussi un login pour l'interface si tu peux
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 :)

Dautrip
Timide
Messages : 48
Inscription : 26 sept. 2017, 06:56

Re: Conflit avec un autre plugin ?

Message par Dautrip » 28 août 2019, 11:34

Je vous ai tout mis en MP, c'est la première fois que je fais ça, je me sens tout nu...

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

Re: Conflit avec un autre plugin ?

Message par Nebz » 28 août 2019, 13:46

@darghorn

tu te rappelles de la commande exacte que tu avais tappée pour résoudre ton problème ??? car là j'arrive à rien donc j'ai du faire demi tour
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 : 6488
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: Conflit avec un autre plugin ?

Message par Nebz » 28 août 2019, 16:00

l'un d'entre vous peut m'envoyer le fichier qu'on voit à la fin du log ?

/root/.npm/_logs/2019-08-27T06_45_19_467Z-debug.log

qqch comme ca
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 :)

Dautrip
Timide
Messages : 48
Inscription : 26 sept. 2017, 06:56

Re: Conflit avec un autre plugin ?

Message par Dautrip » 28 août 2019, 19:51

Je viens de voir votre dernier message, désolé pour l'attente, j'ai essayé de reproduire le problème et mis à jour avec le version de 2019-08-28 14:13:41 mais cette fois-ci l'installation des dépendances se passe normalement, j'ignore si mon cas est général avec les modification de ce midi.

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

Re: Conflit avec un autre plugin ?

Message par Nebz » 28 août 2019, 20:02

Dautrip a écrit :Je viens de voir votre dernier message, désolé pour l'attente, j'ai essayé de reproduire le problème et mis à jour avec le version de 2019-08-28 14:13:41 mais cette fois-ci l'installation des dépendances se passe normalement, j'ignore si mon cas est général avec les modification de ce midi.
Non chez vous je suis revenu en arrière donc vous restez dans l'ancienne version mais il n'empêche que le fichier que je voudrais avec les message d'erreur est toujours la, et ça me serait utile ;-)


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 :)

Dautrip
Timide
Messages : 48
Inscription : 26 sept. 2017, 06:56

Re: Conflit avec un autre plugin ?

Message par Dautrip » 28 août 2019, 20:23

Vous pourrez trouver la copie en pièce jointe.
Pièces jointes
2019-08-28T11_26_28_526Z-debug.log
(366.87 Kio) Téléchargé 12 fois

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

Re: Conflit avec un autre plugin ?

Message par Nebz » 28 août 2019, 21:06

le problème semble donc résolu

@darghorn

pouvez vous mettre à jour homebridge et me confirmer egalement ?
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 :)

BetyOops
Timide
Messages : 107
Inscription : 13 avr. 2016, 14:35

Re: Conflit avec un autre plugin ?

Message par BetyOops » 28 août 2019, 22:27

Bonjour,

Je viens me greffer au sujet, j'ai exactement le meme soucis.

J'ai supprimer alexa-api, nettoyer l'install node, relance les dépendances, mais j'ai toujours les erreurs pendant la réinstallation...

Code : Tout sélectionner

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-28T20_24_54_773Z-debug.log
Help me :(

EDIT:

Dash-Button embarque une ancienne version de nodejs, c'est de là que viens le problème je pense.
Lenovo M720 Tiny - VMWare Debian 9 Jeedom DIY
Zwave - Bluetooth
Alexa Echo - Harmony Elite

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

Conflit avec un autre plugin ?

Message par Nebz » 28 août 2019, 22:59

BetyOops a écrit :Bonjour,

Je viens me greffer au sujet, j'ai exactement le meme soucis.

J'ai supprimer alexa-api, nettoyer l'install node, relance les dépendances, mais j'ai toujours les erreurs pendant la réinstallation...

Code : Tout sélectionner

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-28T20_24_54_773Z-debug.log
Help me :(

EDIT:

Dash-Button embarque une ancienne version de nodejs, c'est de là que viens le problème je pense.
Hello,

Le problème devrait avoir été résolu ce soir comme tu peux lire au dessus de ton message, peux tu mettre à jour le plug-in, relancer les dépendances et tester ?

Si toujours pas me renvoyer les logs de dépendances (complet)

Oui pour dash j'ai signalé au dev


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 :)

BetyOops
Timide
Messages : 107
Inscription : 13 avr. 2016, 14:35

Re: Conflit avec un autre plugin ?

Message par BetyOops » 28 août 2019, 23:36

Je t’envoies tout ça demain matin mais j’ai bien installé la dernière version de ton plugin.
Lenovo M720 Tiny - VMWare Debian 9 Jeedom DIY
Zwave - Bluetooth
Alexa Echo - Harmony Elite

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

Re: Conflit avec un autre plugin ?

Message par Nebz » 29 août 2019, 00:18

Ok fournis moi aussi le fichier indiqué tout en bas de ton Log stp


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
akenad
Actif
Messages : 694
Inscription : 27 oct. 2017, 11:39

Re: Conflit avec un autre plugin ?

Message par akenad » 29 août 2019, 01:08

Bonjour @Nebz,

A toutes fins utiles,
j'ai testé l'installation de Homebridge sur VM buster, pi4 Buster et
une mise à jour sur pi3 Stretch :

-jeedom 3.3.30
-homebridge stable 2019-08-28 20:54:36
(avec install_homebridge.sh :
installVer='12'
minVer='12'
maxVer='12' )

==> c'est OK avec VM buster, pi4 Buster mais c'est NOK avec pi3 Stretch :

DebugugInfo Homebridge :

Environnement NodeJS :


------VM Buster

Version NodeJS : v12.9.1
Version NPM : 6.10.2
Prefix Global : /usr
Root Global : /usr/lib/node_modules
Architecture : x86_64
Linux : Debian GNU/Linux 10 (buster)
Système : diy
Homebridge : 0.4.50
HAP-NodeJS : 0.4.51
Homebridge-Jeedom locale : 1.4.8.0001
Homebridge-Jeedom en ligne : 1.4.8.0001
Utilisateur sélectionné : admin
Branche : master


------pi4 Buster

Version NodeJS : v12.9.1
Version NPM : 6.10.2
Prefix Global : /usr
Root Global : /usr/lib/node_modules
Architecture : armv7l
Linux : Raspbian GNU/Linux 10 (buster)
Système : rpi
Homebridge : 0.4.50
HAP-NodeJS : 0.4.51
Homebridge-Jeedom locale : 1.4.8.0001
Homebridge-Jeedom en ligne : 1.4.8.0001
Utilisateur sélectionné : admin
Branche : master


------ pi3B+ Stretch

Version NodeJS : v12.9.1
Version NPM : 6.10.2
Prefix Global : /usr
Root Global : /usr/lib/node_modules
Architecture : armv7l
Linux : Raspbian GNU/Linux 9.9 (stretch)
Système : rpi
Homebridge :
HAP-NodeJS :
Homebridge-Jeedom locale : 1.4.8.0001
Homebridge-Jeedom en ligne : 1.4.8.0001
Utilisateur sélectionné : admin
Branche : master

==> L'installation des dépendances est NOK. (produit les mêmes logs que déjà fournies plus haut)

J'ai alors modifié le install_homebridge.sh :
installVer='8'
minVer='8'
maxVer='8'
puis Réparer & Réinstaller :


Version NodeJS : v8.16.1
Version NPM : 6.4.1
Prefix Global : /usr
Root Global : /usr/lib/node_modules
Architecture : armv7l
Linux : Raspbian GNU/Linux 9.9 (stretch)
Système : rpi
Homebridge : 0.4.50
HAP-NodeJS : 0.4.51
Homebridge-Jeedom locale : 1.4.8.0001
Homebridge-Jeedom en ligne : 1.4.8.0001
Utilisateur sélectionné : admin
Branche : master


==> c'est OK.

puis
J'ai alors modifié le install_homebridge.sh :
installVer='10'
minVer='10'
maxVer='10'
puis Réparer & Réinstaller :

Version NodeJS : v10.16.3
Version NPM : 6.9.0
Prefix Global : /usr
Root Global : /usr/lib/node_modules
Architecture : armv7l
Linux : Raspbian GNU/Linux 9.9 (stretch)
Système : rpi
Homebridge : 0.4.50
HAP-NodeJS : 0.4.51
Homebridge-Jeedom locale : 1.4.8.0001
Homebridge-Jeedom en ligne : 1.4.8.0001
Utilisateur sélectionné : admin
Branche : master

==> c'est OK.


puis
J'ai alors modifié le install_homebridge.sh :
installVer='12'
minVer='12'
maxVer='12'
puis Réparer & Réinstaller


Version NodeJS : v12.9.1
Version NPM : 6.10.2
Prefix Global : /usr
Root Global : /usr/lib/node_modules
Architecture : armv7l
Linux : Raspbian GNU/Linux 9.9 (stretch)
Système : rpi
Homebridge : 0.4.50
HAP-NodeJS : 0.4.51
Homebridge-Jeedom locale : 1.4.8.0001
Homebridge-Jeedom en ligne : 1.4.8.0001
Utilisateur sélectionné : admin
Branche : master


==> c'est OK.


Autrement dit avec stretch si au lieu de passer de NodeJS de 8.x à 12.x
on passe de 8.x à 10.x, puis de 10.x à 12.x cela semble fonctionner avec Homebridge.

Voici la log des dépendances homebridge pour le pi3 stretch après un changement
des versions de 12 à 10 dans install_homebridge.sh, puis Réparer & Réinstaller
(dépendances OK et démon démarre) akenad :)
Présentation akenad
JeedomSmart Debian Stretch
Odroid-C2 eMMC Armbian Stretch Kernel 3.x
RPi3B+ SSD Raspbian Stretch
NUC Intel i7Gen7 ProxMox VM Debian Stretch & Buster
RPi4B SSD Raspbian Buster

Mes équipements

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

Conflit avec un autre plugin ?

Message par Nebz » 29 août 2019, 06:51

... et chez moi en pi Stretch aucun problème...

Je pense que ça doit être lié à l'historique du système...

Quels sont tes historiques ?

T'es buster sont relativement fresh non ?


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
akenad
Actif
Messages : 694
Inscription : 27 oct. 2017, 11:39

Re: Conflit avec un autre plugin ?

Message par akenad » 29 août 2019, 07:35

Sur le pi stretch je n'ai que les les plugins homebridge et jeexplorer.
le plugin homebridge était du 29/03/2019 avant mise à jour.

Mes buster datent des tests que nous avons fait ensemble pour mettre au point le plugin homebridge beta compatible buster.

D'après la log que j'ai fournie je comprends que les nodes ed25519 et curve25519 (Algos de crypto avec courbe !) sont recompilés et que dans certains cas çà ne se passe pas bien.

akenad :)
Dernière édition par akenad le 29 août 2019, 09:00, édité 3 fois.
Présentation akenad
JeedomSmart Debian Stretch
Odroid-C2 eMMC Armbian Stretch Kernel 3.x
RPi3B+ SSD Raspbian Stretch
NUC Intel i7Gen7 ProxMox VM Debian Stretch & Buster
RPi4B SSD Raspbian Buster

Mes équipements

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

Conflit avec un autre plugin ?

Message par Nebz » 29 août 2019, 07:36

Oui… Exactement… On dirait malgré sa desinstallations qu'il considère que la version node 8 est toujours là… Parfois


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
Nebz
Modérateur
Messages : 6488
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: Conflit avec un autre plugin ?

Message par Nebz » 29 août 2019, 07:38

Je vais tenter de forcer la desinstallation de ed


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
Nebz
Modérateur
Messages : 6488
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: Conflit avec un autre plugin ?

Message par Nebz » 29 août 2019, 08:44

voilà devant un ordi...

c'est curve25519-n en fait qui pose problème... on dirait qu'il a un problème à ce niveau :

Code : Tout sélectionner

../../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:
tout le reste c'est des "note" ou des "warnings"

j'ai tenté de forcer une maj de nan en homebridge en beta, tu peux tester ? (ils semblent avoir résolu en 2.14.0 qui est pourtant dans les dependances de curve mais il doit garder une vieille version qqpart).
(donc quand tu repasses vers 10 en fait, il doit aussi rester dans la vieille version (10 donc) quand tu passes en 12 après et donc ca fonctionne)

le problème que j'ai eu hiers c'est que à un moment, à force d'essayer, on dirait que qqch se réparre à l'arrière et tout d'un coup ca passe...
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 2 invités