Systemdata |
Bitte Ausfüllen |
Hardwaresystem: |
Hp DL360G8. |
Arbeitsspeicher: |
96GB |
Festplattenart: |
SSD&HDD RAID |
Betriebssystem: |
Ubuntu 19 Server auf vmware |
Node-Version: |
10.16.3 |
Nodejs-Version: |
10.16.3 |
NPM-Version: |
6.11.3 |
Installationsart: |
Skript |
Image genutzt: |
Nein |
Ort/Name der Imagedatei: |
http://releases.ubuntu.com/19.04/ubuntu-19.04-live-server-amd64.iso |
Hallo Miteinander,
hab bei der Installation unter Ubuntu 19 Server auf vmware meine Sorgen.
Im Teil 3 der Installation von ioBroker kommt diese Fehlermeldung:
In file included from ../src/main.cpp:3:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_ work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
, reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
^
In file included from ../../nan/nan.h:54,
from ../src/main.cpp:3:
../src/main.cpp: At global scope:
/home/dadmin/.cache/node-gyp/10.16.3/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::O bject>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
(node::addon_register_func) (regfunc), \
^
/home/dadmin/.cache/node-gyp/10.16.3/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
^~~~~~~~~~~~~
../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
NODE_MODULE(diskusage, Init)
^~~~~~~~~~~
In file included from /home/dadmin/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/main.cpp:3:
/home/dadmin/.cache/node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInf o<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8: :WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/dadmin/.cache/node-gyp/10.16.3/include/node/node_object_wrap.h:84:78: required from here
/home/dadmin/.cache/node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node ::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo< void>&)’} [-Wcast-function-type]
reinterpret_cast<Callback>(callback), type);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/dadmin/.cache/node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInf o<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8:: WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../../nan/nan_object_wrap.h:65:61: required from here
/home/dadmin/.cache/node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan: :ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<vo id>&)’} [-Wcast-function-type]
darauf quittierte dann das Ubuntu mit folgender Aussage von vmware den Dienst:
The CPU has been disabled by the guest operating system. Power off or reset the virtual machine.
vorher hatte ich das Ganze unter debian 10 probiert..... da kam der Aufhänger mit gleicher Meldung erst beim Konfigurieren des ioBroker.
Auf beiden Systemen :
dadmin@iobroker:~$ nodejs -v
v10.16.3
dadmin@iobroker:~$ node -v
v10.16.3
dadmin@iobroker:~$ npm -v
6.11.3
Irgendeine Idee , was hier schief ist ? bin ich zu aktuell mit den Versionen ?