Re: Conflit avec un autre plugin ?
Publié : 28 août 2019, 11:05
ok je vais deleter ces dossiers manuellement,
met à jour homebridge
relance les dep
met à jour homebridge
relance les dep
Forum sur Jeedom
https://www.jeedom.com/forum/
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 utileDautrip 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.
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
Hello,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...Help meCode : 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
EDIT:
Dash-Button embarque une ancienne version de nodejs, c'est de là que viens le problème je pense.
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: