NEWS
WARNINGS bei ioBroker Skript-Installation
-
Ich habe Node.js 10.17.0 und anschließend ioBroker mittels
curl -sL https://iobroker.net/install.sh | bash -
installiert.
Dabei sind 17 WARNINGS aufgetreten:
admin@Mac-mini ~ % node -v v10.17.0 admin@Mac-mini ~ % npm -v 6.11.3 admin@Mac-mini ~ % curl -sL https://iobroker.net/install.sh | bash - ========================================================================== Welcome to the ioBroker installer! Installer version: 2019-11-10 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/4) ========================================================================== Password: sudo: brew: command not found Changing npm registry to https://registry.npmjs.org Since brew is not installed, frequently-used dependencies could not be installed. Before installing some adapters, you might have to install some packages yourself. Please check the adapter manuals before installing them. ========================================================================== Creating ioBroker user and directory (2/4) ========================================================================== Directory /usr/local/iobroker created ========================================================================== Installing ioBroker (3/4) ========================================================================== ../src/unix_dgram.cc:118:8: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::GetCurrentContext()->Global(), ^ ../../nan/nan.h:1024:3: note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^ ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __attribute__((deprecated)) ^ ../src/unix_dgram.cc:127:8: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::GetCurrentContext()->Global(), ^ ../../nan/nan.h:1024:3: note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^ ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __attribute__((deprecated)) ^ ../src/unix_dgram.cc:189:26: warning: 'Int32Value' is deprecated [-Wdeprecated-declarations] domain = info[0]->Int32Value(); ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8.h:2478:3: note: 'Int32Value' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated)) ^ ../src/unix_dgram.cc:190:26: warning: 'Int32Value' is deprecated [-Wdeprecated-declarations] type = info[1]->Int32Value(); ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8.h:2478:3: note: 'Int32Value' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated)) ^ ../src/unix_dgram.cc:191:26: warning: 'Int32Value' is deprecated [-Wdeprecated-declarations] protocol = info[2]->Int32Value(); ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8.h:2478:3: note: 'Int32Value' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated)) ^ ../src/unix_dgram.cc:230:17: warning: 'Int32Value' is deprecated [-Wdeprecated-declarations] fd = info[0]->Int32Value(); ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8.h:2478:3: note: 'Int32Value' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated)) ^ ../src/unix_dgram.cc:231:21: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations] String::Utf8Value path(info[1]); ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8.h:2891:5: note: 'Utf8Value' has been explicitly marked deprecated here V8_DEPRECATED("Use Isolate version", ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated)) ^ ../src/unix_dgram.cc:258:17: warning: 'Int32Value' is deprecated [-Wdeprecated-declarations] fd = info[0]->Int32Value(); ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8.h:2478:3: note: 'Int32Value' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated)) ^ ../src/unix_dgram.cc:259:18: warning: 'ToObject' is deprecated [-Wdeprecated-declarations] buf = info[1]->ToObject(); ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8.h:2455:10: note: 'ToObject' has been explicitly marked deprecated here inline V8_DEPRECATED("Use maybe version", Local<Object> ToObject() const); ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated)) ^ ../src/unix_dgram.cc:260:21: warning: 'Uint32Value' is deprecated [-Wdeprecated-declarations] offset = info[2]->Uint32Value(); ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8.h:2477:3: note: 'Uint32Value' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated)) ^ ../src/unix_dgram.cc:261:21: warning: 'Uint32Value' is deprecated [-Wdeprecated-declarations] length = info[3]->Uint32Value(); ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8.h:2477:3: note: 'Uint32Value' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated)) ^ ../src/unix_dgram.cc:262:21: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations] String::Utf8Value path(info[4]); ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8.h:2891:5: note: 'Utf8Value' has been explicitly marked deprecated here V8_DEPRECATED("Use Isolate version", ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated)) ^ ../src/unix_dgram.cc:302:17: warning: 'Int32Value' is deprecated [-Wdeprecated-declarations] fd = info[0]->Int32Value(); ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8.h:2478:3: note: 'Int32Value' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated)) ^ ../src/unix_dgram.cc:303:18: warning: 'ToObject' is deprecated [-Wdeprecated-declarations] buf = info[1]->ToObject(); ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8.h:2455:10: note: 'ToObject' has been explicitly marked deprecated here inline V8_DEPRECATED("Use maybe version", Local<Object> ToObject() const); ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated)) ^ ../src/unix_dgram.cc:340:17: warning: 'Int32Value' is deprecated [-Wdeprecated-declarations] fd = info[0]->Int32Value(); ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8.h:2478:3: note: 'Int32Value' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated)) ^ ../src/unix_dgram.cc:341:21: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations] String::Utf8Value path(info[1]); ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8.h:2891:5: note: 'Utf8Value' has been explicitly marked deprecated here V8_DEPRECATED("Use Isolate version", ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated)) ^ ../src/unix_dgram.cc:361:17: warning: 'Int32Value' is deprecated [-Wdeprecated-declarations] fd = info[0]->Int32Value(); ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8.h:2478:3: note: 'Int32Value' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /Users/admin/Library/Caches/node-gyp/10.17.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated)) ^ 17 warnings generated. ========================================================================== Finalizing installation (4/4) ========================================================================== Enabling autostart... bash: line 1047: /Users/admin/Library/LaunchAgents/org.ioBroker.LaunchAtLogin.plist: No such file or directory /Users/admin/Library/LaunchAgents/org.ioBroker.LaunchAtLogin.plist: No such file or directory Autostart enabled! mkdir: /root/.iobroker: Read-only file system touch: /root/.bashrc: No such file or directory bash: line 272: return: 192.168.2.113: numeric argument required ========================================================================== ioBroker was installed successfully Open http://:8081 in a browser and start configuring! ==========================================================================
ioBroker läuft zwar, aber ich bin unsicher, ob ich auf der Basis weiter machen sollte.
Mac OS 10.15.1
Grüße
Frank
-
@frank2604
Die Meldungen weisen darauf hin das eine Funktion benutzt wird die ggf. In zukünftigen NodeJS Versionen nicht mehr unterstützt ŵird (depreciated).Es funktioniert also alles, und wenn auf eine nodejs Version gewechselt werden soll die das nicht mehr bereit stellt reitet werden. Das ist durchaus normal, ich würde mir keine Sorgen machen.
A.
-
OK, vielen Dank!
Frank