NEWS
UNSOLVED Neuinstallation voller Fehler
-
Ich hatte mich ca. 1 Jahr mit ioBroker so nebenbei immer wieder beschäftigt und mal dies und das ausprobiert.
Plötzlich ging nichts mehr.
Nach div. Fehlersuchen und versuchen habe ich mich entschlossen die SD Karte zu löschen und alles neu zu machen.
Jetzt wenn ich aber ioBroker nach der neuen Methode installieren kommen bereits während der Installation div Fehlermeldungen.Schön langsam verliere ich die Geduld.
Wollte das System eigentlich als meine Zentrale Steuerung einsetzen.
Aber so macht das keinen Spass.========================================================================== Installing ioBroker (3/4) ========================================================================== In file included from ../node_modules/nan/nan.h:190:0, from ../src/unix_dgram.cc:5: ../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’: ../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’ return obj->ForceSet(GetCurrentContext(), key, value, attribs); ^~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:196, from ../src/unix_dgram.cc:5: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::StringObject>::return_t Nan::imp::Factory<v8::StringObject>::New(v8::Local<v8::String>)’: ../node_modules/nan/nan_implementation_12_inl.h:345:37: warning: ‘static v8::Local<v8::Value> v8::StringObject::New(v8::Local<v8::String>)’ is deprecated: Use Isolate* version [-Wdeprecated-declarations] return v8::StringObject::New(value).As<v8::StringObject>(); ^ In file included from /home/pi/.node-gyp/11.10.0/include/node/v8.h:26:0, from /home/pi/.node-gyp/11.10.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.node-gyp/11.10.0/include/node/v8.h:5242:37: note: declared here static Local<Value> New(Local<String> value)); ^ /home/pi/.node-gyp/11.10.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5:0: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’: ../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv); ^ In file included from ../node_modules/nan/nan.h:47:0, from ../src/unix_dgram.cc:5: /home/pi/.node-gyp/11.10.0/include/node/node.h:172:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/pi/.node-gyp/11.10.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5:0: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’: ../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv); ^ In file included from ../node_modules/nan/nan.h:47:0, from ../src/unix_dgram.cc:5: /home/pi/.node-gyp/11.10.0/include/node/node.h:165:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/pi/.node-gyp/11.10.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5:0: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’: ../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, method, argc, argv); ^ In file included from ../node_modules/nan/nan.h:47:0, from ../src/unix_dgram.cc:5: /home/pi/.node-gyp/11.10.0/include/node/node.h:158:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/pi/.node-gyp/11.10.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5:0: ../node_modules/nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’: ../node_modules/nan/nan.h:890:53: warning: ‘v8::Local<v8::String> v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Local<v8::String> string = from->ToString(); ^ In file included from /home/pi/.node-gyp/11.10.0/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.node-gyp/11.10.0/include/node/v8.h:10248:15: note: declared here Local<String> Value::ToString() const { ^~~~~ In file included from ../src/unix_dgram.cc:5:0: ../node_modules/nan/nan.h:900:74: warning: ‘int v8::String::WriteUtf8(char*, int, int*, int) const’ is deprecated: Use Isolate* version [-Wdeprecated-declarations] length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags); ^ In file included from /home/pi/.node-gyp/11.10.0/include/node/v8.h:26:0, from /home/pi/.node-gyp/11.10.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.node-gyp/11.10.0/include/node/v8.h:2754:21: note: declared here int WriteUtf8(char* buffer, int length = -1, ^ /home/pi/.node-gyp/11.10.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5:0: ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’: ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] )); ^ In file included from ../node_modules/nan/nan.h:47:0, from ../src/unix_dgram.cc:5: /home/pi/.node-gyp/11.10.0/include/node/node.h:172:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/pi/.node-gyp/11.10.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Socket(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/unix_dgram.cc:189:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] domain = info[0]->Int32Value(); ^ In file included from /home/pi/.node-gyp/11.10.0/include/node/v8.h:26:0, from /home/pi/.node-gyp/11.10.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.node-gyp/11.10.0/include/node/v8.h:2572:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/pi/.node-gyp/11.10.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:190:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] type = info[1]->Int32Value(); ^ In file included from /home/pi/.node-gyp/11.10.0/include/node/v8.h:26:0, from /home/pi/.node-gyp/11.10.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.node-gyp/11.10.0/include/node/v8.h:2572:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/pi/.node-gyp/11.10.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:191:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] protocol = info[2]->Int32Value(); ^ In file included from /home/pi/.node-gyp/11.10.0/include/node/v8.h:26:0, from /home/pi/.node-gyp/11.10.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.node-gyp/11.10.0/include/node/v8.h:2572:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/pi/.node-gyp/11.10.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Bind(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/unix_dgram.cc:230:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] fd = info[0]->Int32Value(); ^ In file included from /home/pi/.node-gyp/11.10.0/include/node/v8.h:26:0, from /home/pi/.node-gyp/11.10.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.node-gyp/11.10.0/include/node/v8.h:2572:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/pi/.node-gyp/11.10.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:231:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value path(info[1]); ^ In file included from /home/pi/.node-gyp/11.10.0/include/node/v8.h:26:0, from /home/pi/.node-gyp/11.10.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.node-gyp/11.10.0/include/node/v8.h:2992:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^ /home/pi/.node-gyp/11.10.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::SendTo(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/unix_dgram.cc:258:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] fd = info[0]->Int32Value(); ^ In file included from /home/pi/.node-gyp/11.10.0/include/node/v8.h:26:0, from /home/pi/.node-gyp/11.10.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.node-gyp/11.10.0/include/node/v8.h:2572:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/pi/.node-gyp/11.10.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:259:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] buf = info[1]->ToObject(); ^ In file included from /home/pi/.node-gyp/11.10.0/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.node-gyp/11.10.0/include/node/v8.h:10254:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/unix_dgram.cc:260:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] offset = info[2]->Uint32Value(); ^ In file included from /home/pi/.node-gyp/11.10.0/include/node/v8.h:26:0, from /home/pi/.node-gyp/11.10.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.node-gyp/11.10.0/include/node/v8.h:2571:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^ /home/pi/.node-gyp/11.10.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:261:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] length = info[3]->Uint32Value(); ^ In file included from /home/pi/.node-gyp/11.10.0/include/node/v8.h:26:0, from /home/pi/.node-gyp/11.10.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.node-gyp/11.10.0/include/node/v8.h:2571:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^ /home/pi/.node-gyp/11.10.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:262:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value path(info[4]); ^ In file included from /home/pi/.node-gyp/11.10.0/include/node/v8.h:26:0, from /home/pi/.node-gyp/11.10.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.node-gyp/11.10.0/include/node/v8.h:2992:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^ /home/pi/.node-gyp/11.10.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Send(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/unix_dgram.cc:302:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] fd = info[0]->Int32Value(); ^ In file included from /home/pi/.node-gyp/11.10.0/include/node/v8.h:26:0, from /home/pi/.node-gyp/11.10.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.node-gyp/11.10.0/include/node/v8.h:2572:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/pi/.node-gyp/11.10.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:303:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] buf = info[1]->ToObject(); ^ In file included from /home/pi/.node-gyp/11.10.0/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.node-gyp/11.10.0/include/node/v8.h:10254:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Connect(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/unix_dgram.cc:340:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] fd = info[0]->Int32Value(); ^ In file included from /home/pi/.node-gyp/11.10.0/include/node/v8.h:26:0, from /home/pi/.node-gyp/11.10.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.node-gyp/11.10.0/include/node/v8.h:2572:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/pi/.node-gyp/11.10.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:341:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value path(info[1]); ^ In file included from /home/pi/.node-gyp/11.10.0/include/node/v8.h:26:0, from /home/pi/.node-gyp/11.10.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.node-gyp/11.10.0/include/node/v8.h:2992:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^ /home/pi/.node-gyp/11.10.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Close(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/unix_dgram.cc:361:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] fd = info[0]->Int32Value(); ^ In file included from /home/pi/.node-gyp/11.10.0/include/node/v8.h:26:0, from /home/pi/.node-gyp/11.10.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.node-gyp/11.10.0/include/node/v8.h:2572:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/pi/.node-gyp/11.10.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ make: *** [Release/obj.target/unix_dgram/src/unix_dgram.o] Fehler 1 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:262:23) gyp ERR! stack at ChildProcess.emit (events.js:197:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12) gyp ERR! System Linux 4.14.98-v7+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/unix-dgram gyp ERR! node -v v11.10.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:41:48: warning: ‘v8::Local<v8::String> v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::String::Utf8Value path(info[0]->ToString()); ^ In file included from /home/pi/.node-gyp/11.10.0/include/node/node.h:63:0, from ../../nan/nan.h:53, from ../src/./serialport.h:6, from ../src/serialport.cpp:1: /home/pi/.node-gyp/11.10.0/include/node/v8.h:10248:15: note: declared here Local<String> Value::ToString() const { ^~~~~ ../src/serialport.cpp:41:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] v8::String::Utf8Value path(info[0]->ToString()); ^ In file included from /home/pi/.node-gyp/11.10.0/include/node/v8.h:26:0, from /home/pi/.node-gyp/11.10.0/include/node/node.h:63, from ../../nan/nan.h:53, from ../src/./serialport.h:6, from ../src/serialport.cpp:1: /home/pi/.node-gyp/11.10.0/include/node/v8.h:2992:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^ /home/pi/.node-gyp/11.10.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp:48:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Local<v8::Object> options = info[1]->ToObject(); ^ In file included from /home/pi/.node-gyp/11.10.0/include/node/node.h:63:0, from ../../nan/nan.h:53, from ../src/./serialport.h:6, from ../src/serialport.cpp:1: /home/pi/.node-gyp/11.10.0/include/node/v8.h:10254:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’: ../src/serialport.cpp:95:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] data->callback.Call(2, argv); ^ In file included from ../src/./serialport.h:6:0, from ../src/serialport.cpp:1: ../../nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:113:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Local<v8::Object> options = info[1]->ToObject(); ^ In file included from /home/pi/.node-gyp/11.10.0/include/node/node.h:63:0, from ../../nan/nan.h:53, from ../src/./serialport.h:6, from ../src/serialport.cpp:1: /home/pi/.node-gyp/11.10.0/include/node/v8.h:10254:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’: ../src/serialport.cpp:150:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ In file included from ../src/./serialport.h:6:0, from ../src/serialport.cpp:1: ../../nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’: ../src/serialport.cpp:188:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ In file included from ../src/./serialport.h:6:0, from ../src/serialport.cpp:1: ../../nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’: ../src/serialport.cpp:231:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ In file included from ../src/./serialport.h:6:0, from ../src/serialport.cpp:1: ../../nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:250:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Local<v8::Object> options = info[1]->ToObject(); ^ In file included from /home/pi/.node-gyp/11.10.0/include/node/node.h:63:0, from ../../nan/nan.h:53, from ../src/./serialport.h:6, from ../src/serialport.cpp:1: /home/pi/.node-gyp/11.10.0/include/node/v8.h:10254:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’: ../src/serialport.cpp:285:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ In file included from ../src/./serialport.h:6:0, from ../src/serialport.cpp:1: ../../nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’: ../src/serialport.cpp:336:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] data->callback.Call(2, argv); ^ In file included from ../src/./serialport.h:6:0, from ../src/serialport.cpp:1: ../../nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’: ../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] data->callback.Call(2, argv); ^ In file included from ../src/./serialport.h:6:0, from ../src/serialport.cpp:1: ../../nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’: ../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ In file included from ../src/./serialport.h:6:0, from ../src/serialport.cpp:1: ../../nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/poller.cpp: In static member function ‘static void Poller::onData(uv_poll_t*, int, int)’: ../src/poller.cpp:69:29: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] obj->callback.Call(2, argv); ^ In file included from ../src/poller.cpp:1:0: ../../nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ========================================================================== Finalizing installation (4/4) ==========================================================================
-
zeigmal
node -v
-
pi@pi01:~ $ node -v v11.10.0 pi@pi01:~ $ nodejs -v v11.10.0 pi@pi01:~ $ npm -v 6.8.0
-
@LJ-Mic sagte in Neuinstallation voller Fehler:
v11.10.0
das wird nix... wie kommst du auf node 11 ? nach welcher Anleitung bist du vorgrgangen ??
-
http://www.iobroker.net/docu/?page_id=8323&lang=de
Halt die neueste Version an node und nodejs.
-
ich häng jetzt hier den Klugscheisser raus aber.. nö.. bist du nicht
Installation Node.js Abschnitt 4 sagt
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
du hast die 11 ..
deshalb kannst du den iobroker nicht installieren..lange rede kurzer Sinn.. ich würde dir empfehlen neu zu starten..
Abschnitt für Abschnitt.. oder nimm doch ein fertiges Image -
@arteck also gibt es auch mal was wo es mal nicht so intelligent ist die neueste Version zu haben?!
-
Naja,
Habe mir das auch gerade angeschaut aber wenn man es genau nimmt ist es eigentlich dann ein Fehler in der Anleitung weil unter Punkt 3 das steht:
nur wenn ALLE diese Befehle kein Ergebnis bringen (also keine Versionsnummer mehr anzeigen) mit Schritt 4. dieses Abschnittes weitermachen, sonst Die alten node & node.js Versionen deinstallieren
-
@LJ-Mic sagte in Neuinstallation voller Fehler:
also gibt es auch mal was wo es mal nicht so intelligent ist die neueste Version zu haben?!
hustWindowshust
-
@Asgothian Hab ich zum Glück nicht
-
führe mal die
Installation Node.js
dann klappst auch mit dem Nachbarn...
-
@wendy2702
Nein, da ist kein Fehler drin - höchstens ein Missversteher, wenn man unbedingt falsch verstehen will.NUR wenn kein Ergebnis -> Schritt drei überspringen
SONST Schritt drei ausführen! -
@LJ-Mic ja bei nodejs ist die neueste Version nicht immer die beste!
Nodejs hat LTS Versionen (alle geraden Versionsnummer, also 6, 8, 10 und irgendwann einmal 12) und hat entwicklungsversionen (die ungeraden Nummern inkl. Der 11 !!)
Entwicklungsversionen haben die aller neuesten Features aber damit auch bugs.
Daher unterstützt ioBroker nur das was als stabil gilt und das sind die LTS Versionen. Wobei auch hier: wenn die frisch rauskommen ist oft unklar wie gut die tausenden an npm libraries diese Version schon unterstützen. Also auch da gilt oft eher abwarten.
Also kurz: ja Neu ist nicht immer gut.