NEWS
[Problem] VIS Adapter Installation geht nicht mehr
-
Moin.
Nachdem meine Vis nicht mehr updaten wollte habe ich schon folgende dinge ausprobiert:
Habe das komplette System geupdatet, NPM neu installiert, node neu installiert, node gyp neu installiert.
js-controller update, npm cache gecleart
http://www.iobroker.net/docu/?page_id=5510&lang=de habe ich auch durch
Bin echt ratlos warum es plötzlich nicht mehr geht.
Node -v 7.8.0
npm -v 4.2.0
Hier meine LOGS
! ````
root@FHEM:/home/admin# cd /opt/iobroker
root@FHEM:/opt/iobroker# npm install iobroker.vis --produktion
! > bufferutil@1.1.0 install /opt/iobroker/node_modules/bufferutil
node-gyp rebuild
! make: Entering directory '/opt/iobroker/node_modules/bufferutil/build'
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
In file included from ../node_modules/nan/nan.h:82:0,
from ../src/bufferutil.cc:16:
../node_modules/nan/nan_new.h: In function ‘v8::Local NanIntern::To(v8::Handlev8::integer) [with T = v8::Int32; v8::Handle v8::integer= v8::Localv8::integer]’:
../node_modules/nan/nan_new.h:34:64: warning: ‘v8::Local v8::int32v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/7.8.0/include/node/v8.h:9041): Use maybe version [-Wdeprecated-declarations]
Tov8::int32(v8::Handle v8::integeri) { return i->ToInt32(); }
^
../node_modules/nan/nan_new.h: In function ‘v8::Local NanIntern::To(v8::Handlev8::integer) [with T = v8::Uint32; v8::Handle v8::integer= v8::Localv8::integer]’:
../node_modules/nan/nan_new.h:39:65: warning: ‘v8::Local v8::uint32v8::Value::ToUint32() const’ is deprecated (declared at /root/.node-gyp/7.8.0/include/node/v8.h:9035): Use maybe version [-Wdeprecated-declarations]
Tov8::uint32(v8::Handle v8::integeri) { return i->ToUint32(); }
^
In file included from ../node_modules/nan/nan_new.h:189:0,
from ../node_modules/nan/nan.h:82,
from ../src/bufferutil.cc:16:
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBasev8::booleanobject::return_t NanIntern::Factoryv8::booleanobject::New(bool)’:
../node_modules/nan/nan_implementation_12_inl.h:49:38: warning: ‘static v8::Local v8::valuev8::BooleanObject::New(bool)’ is deprecated (declared at /root/.node-gyp/7.8.0/include/node/v8.h:4490): Pass an isolate [-Wdeprecated-declarations]
return v8::BooleanObject::New(value).Asv8::booleanobject();
^
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBasev8::script::return_t NanIntern::Factoryv8::script::New(v8::Localv8::string)’:
../node_modules/nan/nan_implementation_12_inl.h:166:69: warning: ‘static v8::Local v8::scriptv8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated (declared at /root/.node-gyp/7.8.0/include/node/v8.h:1374): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBasev8::script::return_t NanIntern::Factoryv8::script::New(v8::Localv8::string, const v8::ScriptOrigin&)’:
../node_modules/nan/nan_implementation_12_inl.h:173:69: warning: ‘static v8::Local v8::scriptv8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated (declared at /root/.node-gyp/7.8.0/include/node/v8.h:1374): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBasev8::string::return_t NanIntern::Factoryv8::string::New(const uint8_t*, int)’:
../node_modules/nan/nan_implementation_12_inl.h:206:42: warning: ‘static v8::Local v8::stringv8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.node-gyp/7.8.0/include/node/v8.h:2542): Use maybe version [-Wdeprecated-declarations]
v8::String::kNormalString, length);
^
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBasev8::string::return_t NanIntern::Factoryv8::string::New(v8::String::ExternalStringResource*)’:
../node_modules/nan/nan_implementation_12_inl.h:217:66: warning: ‘static v8::Local v8::stringv8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)’ is deprecated (declared at /root/.node-gyp/7.8.0/include/node/v8.h:2581): Use maybe version [-Wdeprecated-declarations]
return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
^
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBasev8::unboundscript::return_t NanIntern::Factoryv8::unboundscript::New(v8::Localv8::string)’:
../node_modules/nan/nan_implementation_12_inl.h:237:76: warning: ‘static v8::Local v8::unboundscriptv8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated (declared at /root/.node-gyp/7.8.0/include/node/v8.h:1355): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBasev8::unboundscript::return_t NanIntern::Factoryv8::unboundscript::New(v8::Localv8::string, const v8::ScriptOrigin&)’:
../node_modules/nan/nan_implementation_12_inl.h:244:76: warning: ‘static v8::Local v8::unboundscriptv8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated (declared at /root/.node-gyp/7.8.0/include/node/v8.h:1355): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^
In file included from ../src/bufferutil.cc:16:0:
../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:261:25: error: redefinition of ‘template <class t="">v8::Local _NanEnsureLocal(v8::Local)’
NAN_INLINE v8::Local _NanEnsureLocal(v8::Local val) {
^
../node_modules/nan/nan.h:256:25: note: ‘template <class t="">v8::Local _NanEnsureLocal(v8::Handle)’ previously declared here
NAN_INLINE v8::Local _NanEnsureLocal(v8::Handle val) {
^
../node_modules/nan/nan.h: In function ‘bool NanIdleNotification(int)’:
../node_modules/nan/nan.h:289:71: warning: ‘bool v8::Isolate::IdleNotification(int)’ is deprecated (declared at /root/.node-gyp/7.8.0/include/node/v8.h:6892): use IdleNotificationDeadline() [-Wdeprecated-declarations]
return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
^
../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:473:20: error: variable or field ‘NanAddGCEpilogueCallback’ declared void
v8::Isolate::GCEpilogueCallback callback
^
../node_modules/nan/nan.h:473:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCEpilogueCallback callback
^
../node_modules/nan/nan.h:474:18: error: expected primary-expression before ‘gc_type_filter’
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:479:20: error: variable or field ‘NanRemoveGCEpilogueCallback’ declared void
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:479:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:484:20: error: variable or field ‘NanAddGCPrologueCallback’ declared void
v8::Isolate::GCPrologueCallback callback
^
../node_modules/nan/nan.h:484:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCPrologueCallback callback
^
../node_modules/nan/nan.h:485:18: error: expected primary-expression before ‘gc_type_filter’
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:490:20: error: variable or field ‘NanRemoveGCPrologueCallback’ declared void
v8::Isolate::GCPrologueCallback callback) {
^
../node_modules/nan/nan.h:490:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCPrologueCallback callback) {
^
../node_modules/nan/nan.h:569:15: error: ‘WeakCallbackData’ in namespace ‘v8’ does not name a template type
const v8::WeakCallbackData <t, _nanweakcallbackinfo<t,/p="">> &data) {
^
../node_modules/nan/nan.h:569:31: error: expected ‘,’ or ‘...’ before ‘<’ token
const v8::WeakCallbackData <t, _nanweakcallbackinfo<t,/p="">> &data) {
^
../node_modules/nan/nan.h: In function ‘void _NanWeakCallbackDispatcher(int)’:
../node_modules/nan/nan.h:570:42: error: ‘data’ was not declared in this scope
_NanWeakCallbackInfo <t, p="">info = data.GetParameter();
^
../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:661:13: error: ‘node::smalloc’ has not been declared
, node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h:661:35: error: expected ‘,’ or ‘...’ before ‘callback’
, node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h: In function ‘v8::Local v8::objectNanNewBufferHandle(char, size_t, int)’:
../node_modules/nan/nan.h:665:50: error: ‘callback’ was not declared in this scope
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h:665:60: error: ‘hint’ was not declared in this scope
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h: In function ‘v8::Local v8::objectNanNewBufferHandle(const char*, uint32_t)’:
../node_modules/nan/nan.h:672:67: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^
In file included from ../src/bufferutil.cc:10:0:
/root/.node-gyp/7.8.0/include/node/node_buffer.h:46:40: note: initializing argument 2 of ‘v8::MaybeLocal v8::objectnode::Buffer::New(v8::Isolate*, char*, size_t)’
NODE_EXTERN v8::MaybeLocal v8::objectNew(v8::Isolate* isolate,
^
In file included from ../src/bufferutil.cc:16:0:
../node_modules/nan/nan.h:672:67: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), ((size_t)size))’ from ‘v8::MaybeLocalv8::object’ to ‘v8::Localv8::object’
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^
../node_modules/nan/nan.h: In function ‘v8::Local v8::objectNanNewBufferHandle(uint32_t)’:
../node_modules/nan/nan.h:676:61: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))’ from ‘v8::MaybeLocalv8::object’ to ‘v8::Localv8::object’
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^
../node_modules/nan/nan.h: In function ‘v8::Local v8::objectNanBufferUse(char*, uint32_t)’:
../node_modules/nan/nan.h:683:12: error: ‘Use’ is not a member of ‘node::Buffer’
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
^
../node_modules/nan/nan.h: In function ‘v8::Local v8::scriptNanCompileScript(v8::Localv8::string, const v8::ScriptOrigin&)’:
../node_modules/nan/nan.h:710:74: warning: ‘static v8::Local v8::scriptv8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated (declared at /root/.node-gyp/7.8.0/include/node/v8.h:1374): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^
../node_modules/nan/nan.h: In function ‘v8::Local v8::scriptNanCompileScript(v8::Localv8::string)’:
../node_modules/nan/nan.h:717:74: warning: ‘static v8::Local v8::scriptv8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated (declared at /root/.node-gyp/7.8.0/include/node/v8.h:1374): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^
../src/bufferutil.cc: In static member function ‘static void BufferUtil::Initialize(v8::Handlev8::object)’:
../src/bufferutil.cc:30:52: error: call of overloaded ‘NODE_SET_METHOD(v8::Localv8::functiontemplate&, const char [7], void (&)(const v8::FunctionCallbackInfov8::value&))’ is ambiguous
NODE_SET_METHOD(t, "unmask", BufferUtil::Unmask);
^
../src/bufferutil.cc:30:52: note: candidates are:
In file included from ../src/bufferutil.cc:8:0:
/root/.node-gyp/7.8.0/include/node/node.h:241:13: note: void node::NODE_SET_METHOD(v8::Localv8::template, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local v8::templaterecv,
^
/root/.node-gyp/7.8.0/include/node/node.h:254:13: note: void node::NODE_SET_METHOD(v8::Localv8::object, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local v8::objectrecv,
^
../src/bufferutil.cc:31:48: error: call of overloaded ‘NODE_SET_METHOD(v8::Localv8::functiontemplate&, const char [5], void (&)(const v8::FunctionCallbackInfov8::value&))’ is ambiguous
NODE_SET_METHOD(t, "mask", BufferUtil::Mask);
^
../src/bufferutil.cc:31:48: note: candidates are:
In file included from ../src/bufferutil.cc:8:0:
/root/.node-gyp/7.8.0/include/node/node.h:241:13: note: void node::NODE_SET_METHOD(v8::Localv8::template, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local v8::templaterecv,
^
/root/.node-gyp/7.8.0/include/node/node.h:254:13: note: void node::NODE_SET_METHOD(v8::Localv8::object, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local v8::objectrecv,
^
../src/bufferutil.cc:32:50: error: call of overloaded ‘NODE_SET_METHOD(v8::Localv8::functiontemplate&, const char [6], void (&)(const v8::FunctionCallbackInfov8::value&))’ is ambiguous
NODE_SET_METHOD(t, "merge", BufferUtil::Merge);
^
../src/bufferutil.cc:32:50: note: candidates are:
In file included from ../src/bufferutil.cc:8:0:
/root/.node-gyp/7.8.0/include/node/node.h:241:13: note: void node::NODE_SET_METHOD(v8::Localv8::template, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local v8::templaterecv,
^
/root/.node-gyp/7.8.0/include/node/node.h:254:13: note: void node::NODE_SET_METHOD(v8::Localv8::object, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local v8::objectrecv,
^
bufferutil.target.mk:96: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed
make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1
make: Leaving directory '/opt/iobroker/node_modules/bufferutil/build'
gyp ERR! build error
gyp ERR! stack Error:make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:194:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 3.16.0-4-amd64
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/iobroker/node_modules/bufferutil
gyp ERR! node -v v7.8.0
gyp ERR! node-gyp -v v3.5.0
gyp ERR! not ok
! > utf-8-validate@1.1.0 install /opt/iobroker/node_modules/utf-8-validate
node-gyp rebuild
! make: Entering directory '/opt/iobroker/node_modules/utf-8-validate/build'
CXX(target) Release/obj.target/validation/src/validation.o
In file included from ../node_modules/nan/nan.h:82:0,
from ../src/validation.cc:15:
../node_modules/nan/nan_new.h: In function ‘v8::Local NanIntern::To(v8::Handlev8::integer) [with T = v8::Int32; v8::Handle v8::integer= v8::Localv8::integer]’:
../node_modules/nan/nan_new.h:34:64: warning: ‘v8::Local v8::int32v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/7.8.0/include/node/v8.h:9041): Use maybe version [-Wdeprecated-declarations]
Tov8::int32(v8::Handle v8::integeri) { return i->ToInt32(); }
^
../node_modules/nan/nan_new.h: In function ‘v8::Local NanIntern::To(v8::Handlev8::integer) [with T = v8::Uint32; v8::Handle v8::integer= v8::Localv8::integer]’:
../node_modules/nan/nan_new.h:39:65: warning: ‘v8::Local v8::uint32v8::Value::ToUint32() const’ is deprecated (declared at /root/.node-gyp/7.8.0/include/node/v8.h:9035): Use maybe version [-Wdeprecated-declarations]
Tov8::uint32(v8::Handle v8::integeri) { return i->ToUint32(); }
^
In file included from ../node_modules/nan/nan_new.h:189:0,
from ../node_modules/nan/nan.h:82,
from ../src/validation.cc:15:
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBasev8::booleanobject::return_t NanIntern::Factoryv8::booleanobject::New(bool)’:
../node_modules/nan/nan_implementation_12_inl.h:49:38: warning: ‘static v8::Local v8::valuev8::BooleanObject::New(bool)’ is deprecated (declared at /root/.node-gyp/7.8.0/include/node/v8.h:4490): Pass an isolate [-Wdeprecated-declarations]
return v8::BooleanObject::New(value).Asv8::booleanobject();
^
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBasev8::script::return_t NanIntern::Factoryv8::script::New(v8::Localv8::string)’:
../node_modules/nan/nan_implementation_12_inl.h:166:69: warning: ‘static v8::Local v8::scriptv8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated (declared at /root/.node-gyp/7.8.0/include/node/v8.h:1374): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBasev8::script::return_t NanIntern::Factoryv8::script::New(v8::Localv8::string, const v8::ScriptOrigin&)’:
../node_modules/nan/nan_implementation_12_inl.h:173:69: warning: ‘static v8::Local v8::scriptv8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated (declared at /root/.node-gyp/7.8.0/include/node/v8.h:1374): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBasev8::string::return_t NanIntern::Factoryv8::string::New(const uint8_t*, int)’:
../node_modules/nan/nan_implementation_12_inl.h:206:42: warning: ‘static v8::Local v8::stringv8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.node-gyp/7.8.0/include/node/v8.h:2542): Use maybe version [-Wdeprecated-declarations]
v8::String::kNormalString, length);
^
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBasev8::string::return_t NanIntern::Factoryv8::string::New(v8::String::ExternalStringResource*)’:
../node_modules/nan/nan_implementation_12_inl.h:217:66: warning: ‘static v8::Local v8::stringv8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)’ is deprecated (declared at /root/.node-gyp/7.8.0/include/node/v8.h:2581): Use maybe version [-Wdeprecated-declarations]
return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
^
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBasev8::unboundscript::return_t NanIntern::Factoryv8::unboundscript::New(v8::Localv8::string)’:
../node_modules/nan/nan_implementation_12_inl.h:237:76: warning: ‘static v8::Local v8::unboundscriptv8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated (declared at /root/.node-gyp/7.8.0/include/node/v8.h:1355): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBasev8::unboundscript::return_t NanIntern::Factoryv8::unboundscript::New(v8::Localv8::string, const v8::ScriptOrigin&)’:
../node_modules/nan/nan_implementation_12_inl.h:244:76: warning: ‘static v8::Local v8::unboundscriptv8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated (declared at /root/.node-gyp/7.8.0/include/node/v8.h:1355): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^
In file included from ../src/validation.cc:15:0:
../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:261:25: error: redefinition of ‘template <class t="">v8::Local _NanEnsureLocal(v8::Local)’
NAN_INLINE v8::Local _NanEnsureLocal(v8::Local val) {
^
../node_modules/nan/nan.h:256:25: note: ‘template <class t="">v8::Local _NanEnsureLocal(v8::Handle)’ previously declared here
NAN_INLINE v8::Local _NanEnsureLocal(v8::Handle val) {
^
../node_modules/nan/nan.h: In function ‘bool NanIdleNotification(int)’:
../node_modules/nan/nan.h:289:71: warning: ‘bool v8::Isolate::IdleNotification(int)’ is deprecated (declared at /root/.node-gyp/7.8.0/include/node/v8.h:6892): use IdleNotificationDeadline() [-Wdeprecated-declarations]
return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
^
../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:473:20: error: variable or field ‘NanAddGCEpilogueCallback’ declared void
v8::Isolate::GCEpilogueCallback callback
^
../node_modules/nan/nan.h:473:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCEpilogueCallback callback
^
../node_modules/nan/nan.h:474:18: error: expected primary-expression before ‘gc_type_filter’
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:479:20: error: variable or field ‘NanRemoveGCEpilogueCallback’ declared void
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:479:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:484:20: error: variable or field ‘NanAddGCPrologueCallback’ declared void
v8::Isolate::GCPrologueCallback callback
^
../node_modules/nan/nan.h:484:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCPrologueCallback callback
^
../node_modules/nan/nan.h:485:18: error: expected primary-expression before ‘gc_type_filter’
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:490:20: error: variable or field ‘NanRemoveGCPrologueCallback’ declared void
v8::Isolate::GCPrologueCallback callback) {
^
../node_modules/nan/nan.h:490:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCPrologueCallback callback) {
^
../node_modules/nan/nan.h:569:15: error: ‘WeakCallbackData’ in namespace ‘v8’ does not name a template type
const v8::WeakCallbackData <t, _nanweakcallbackinfo<t,/p="">> &data) {
^
../node_modules/nan/nan.h:569:31: error: expected ‘,’ or ‘...’ before ‘<’ token
const v8::WeakCallbackData <t, _nanweakcallbackinfo<t,/p="">> &data) {
^
../node_modules/nan/nan.h: In function ‘void _NanWeakCallbackDispatcher(int)’:
../node_modules/nan/nan.h:570:42: error: ‘data’ was not declared in this scope
_NanWeakCallbackInfo <t, p="">info = data.GetParameter();
^
../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:661:13: error: ‘node::smalloc’ has not been declared
, node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h:661:35: error: expected ‘,’ or ‘...’ before ‘callback’
, node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h: In function ‘v8::Local v8::objectNanNewBufferHandle(char, size_t, int)’:
../node_modules/nan/nan.h:665:50: error: ‘callback’ was not declared in this scope
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h:665:60: error: ‘hint’ was not declared in this scope
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h: In function ‘v8::Local v8::objectNanNewBufferHandle(const char*, uint32_t)’:
../node_modules/nan/nan.h:672:67: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^
In file included from ../src/validation.cc:10:0:
/root/.node-gyp/7.8.0/include/node/node_buffer.h:46:40: note: initializing argument 2 of ‘v8::MaybeLocal v8::objectnode::Buffer::New(v8::Isolate*, char*, size_t)’
NODE_EXTERN v8::MaybeLocal v8::objectNew(v8::Isolate* isolate,
^
In file included from ../src/validation.cc:15:0:
../node_modules/nan/nan.h:672:67: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), ((size_t)size))’ from ‘v8::MaybeLocalv8::object’ to ‘v8::Localv8::object’
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^
../node_modules/nan/nan.h: In function ‘v8::Local v8::objectNanNewBufferHandle(uint32_t)’:
../node_modules/nan/nan.h:676:61: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))’ from ‘v8::MaybeLocalv8::object’ to ‘v8::Localv8::object’
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^
../node_modules/nan/nan.h: In function ‘v8::Local v8::objectNanBufferUse(char*, uint32_t)’:
../node_modules/nan/nan.h:683:12: error: ‘Use’ is not a member of ‘node::Buffer’
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
^
../node_modules/nan/nan.h: In function ‘v8::Local v8::scriptNanCompileScript(v8::Localv8::string, const v8::ScriptOrigin&)’:
../node_modules/nan/nan.h:710:74: warning: ‘static v8::Local v8::scriptv8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated (declared at /root/.node-gyp/7.8.0/include/node/v8.h:1374): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^
../node_modules/nan/nan.h: In function ‘v8::Local v8::scriptNanCompileScript(v8::Localv8::string)’:
../node_modules/nan/nan.h:717:74: warning: ‘static v8::Local v8::scriptv8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated (declared at /root/.node-gyp/7.8.0/include/node/v8.h:1374): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^
../src/validation.cc: In static member function ‘static void Validation::Initialize(v8::Handlev8::object)’:
../src/validation.cc:112:62: error: call of overloaded ‘NODE_SET_METHOD(v8::Localv8::functiontemplate&, const char [12], void (&)(const v8::FunctionCallbackInfov8::value&))’ is ambiguous
NODE_SET_METHOD(t, "isValidUTF8", Validation::IsValidUTF8);
^
../src/validation.cc:112:62: note: candidates are:
In file included from ../src/validation.cc:8:0:
/root/.node-gyp/7.8.0/include/node/node.h:241:13: note: void node::NODE_SET_METHOD(v8::Localv8::template, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local v8::templaterecv,
^
/root/.node-gyp/7.8.0/include/node/node.h:254:13: note: void node::NODE_SET_METHOD(v8::Localv8::object, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local v8::objectrecv,
^
validation.target.mk:96: recipe for target 'Release/obj.target/validation/src/validation.o' failed
make: *** [Release/obj.target/validation/src/validation.o] Error 1
make: Leaving directory '/opt/iobroker/node_modules/utf-8-validate/build'
gyp ERR! build error
gyp ERR! stack Error:make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:194:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 3.16.0-4-amd64
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/iobroker/node_modules/utf-8-validate
gyp ERR! node -v v7.8.0
gyp ERR! node-gyp -v v3.5.0
gyp ERR! not ok
! > iobroker.vis@0.14.1 install /opt/iobroker/node_modules/iobroker.vis
node main.js --install
! iobroker.core@0.1.0 /opt/iobroker
└── (empty)
! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/nunjucks/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 (node_modules/bufferutil):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 install:node-gyp rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 (node_modules/utf-8-validate):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 install:node-gyp rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1</v8::object></v8::object></v8::template></v8::template></v8::value></v8::functiontemplate></v8::object></v8::script></v8::string></v8::script></v8::script></v8::string></v8::script></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></t,></t,></t,></class></class></v8::unboundscript></v8::string></v8::unboundscript></v8::unboundscript></v8::unboundscript></v8::string></v8::unboundscript></v8::unboundscript></v8::string></v8::string></v8::string></v8::string></v8::string></v8::string></v8::script></v8::string></v8::script></v8::script></v8::script></v8::string></v8::script></v8::script></v8::booleanobject></v8::value></v8::booleanobject></v8::booleanobject></v8::integer></v8::uint32></v8::uint32></v8::integer></v8::integer></v8::integer></v8::integer></v8::int32></v8::int32></v8::integer></v8::integer></v8::integer></v8::object></v8::object></v8::template></v8::template></v8::value></v8::functiontemplate></v8::object></v8::object></v8::template></v8::template></v8::value></v8::functiontemplate></v8::object></v8::object></v8::template></v8::template></v8::value></v8::functiontemplate></v8::object></v8::script></v8::string></v8::script></v8::script></v8::string></v8::script></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></t,></t,></t,></class></class></v8::unboundscript></v8::string></v8::unboundscript></v8::unboundscript></v8::unboundscript></v8::string></v8::unboundscript></v8::unboundscript></v8::string></v8::string></v8::string></v8::string></v8::string></v8::string></v8::script></v8::string></v8::script></v8::script></v8::script></v8::string></v8::script></v8::script></v8::booleanobject></v8::value></v8::booleanobject></v8::booleanobject></v8::integer></v8::uint32></v8::uint32></v8::integer></v8::integer></v8::integer></v8::integer></v8::int32></v8::int32></v8::integer></v8::integer></v8::integer> -
Ich weiß den Einfluss nicht, aber hier zur Information meine Versionen mit denen es läuft. Kannst ja Mal testen:
npm version: 2.15.11
node version: v4.8.2
-
So es scheint wieder zu gehen. Habe es aber über das Terminal gemacht.
Ich musste die ganzen Node Ordner manuell löschen und deinstallieren. Habe dann auf Nodejs 4.8.2 mit npm geupdatet.
-
Ich hatte gestern ein ähnliches Problem als ich ein Backup vom tinker1 auf dem tinker2 installieren wollte.
Ob es an der Meldung im log "cannot find license, please get one" lag, obwohl ich noch die 0.10.15 (?) drauf hatte.
Auch ich jabe mit verschiedenen node versionen gespielt ohne Besserung. (Du weisst aber dass v7 nur beta ist?)
Zum Schluss habe ich dann im Expertenmodus die 0.10.15 "upgedated" danach lief es.
Gruß
Rainer
-
Ja seit dem es die License Funktion gibt habe ich updates versucht aber ohne Erfolg.
Ich bleibe erstmal bei nodejs 4.8.2
Expertenmodus ging bei mir auch nicht.