NEWS
[Gelöst] Zigbee >1.2.0 funktioniert nicht
-
@amg_666 node würde ich schon mal aktuell halten.
@thomas-braun Naja, soo alt ist 12.19.0 doch nicht
-
@thomas-braun Naja, soo alt ist 12.19.0 doch nicht
@amg_666 Gab aber Security issues.
Und wo ist das Problem das Zeug aktuell zu halten?
Sind zwei Zeilen in der Konsole und eine Sache von Sekunden. -
Hallo, ich hatte vor geraumer Zeit versucht meinen Zigbee Adapter zu aktualisieren, was zu einer dauerhaft "roten" Instanz und diversen Fehlermeldungen führte. Hab daraufhin erstmal wieder die 1.2.0 installiert und alles lief gut. Nachdem ich jetzt mein System (3*Raspi 3b+) auf den neuesten js-controller 3.2.8 gebracht hatte wollte ich auch den zigbee aktualisieren was wiederum nicht geklappt hat. Ich habe node.js V12.19.0 und npm 6.14.8 auf allen Systemen. Der zigbee Adapter läuft auf dem Master. Nach Installation des aktuellen Adapters (1.4.2) bekomme ich folgendes angezeigt im Log:
2021-01-23 16:04:57.485 - info: host.iomaster Restart adapter system.adapter.zigbee.0 because enabled 2021-01-23 16:05:27.538 - info: host.iomaster instance system.adapter.zigbee.0 started with pid 12140 2021-01-23 16:05:29.009 - error: host.iomaster Caught by controller[0]: /opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:135 2021-01-23 16:05:29.010 - error: host.iomaster Caught by controller[0]: throw err; 2021-01-23 16:05:29.010 - error: host.iomaster Caught by controller[0]: ^ 2021-01-23 16:05:29.011 - error: host.iomaster Caught by controller[0]: Error: Could not locate the bindings file. Tried: 2021-01-23 16:05:29.011 - error: host.iomaster Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/bindings.node 2021-01-23 16:05:29.011 - error: host.iomaster Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Debug/bindings.node 2021-01-23 16:05:29.012 - error: host.iomaster Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Release/bindings.node 2021-01-23 16:05:29.012 - error: host.iomaster Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/out/Debug/bindings.node 2021-01-23 16:05:29.012 - error: host.iomaster Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/Debug/bindings.node 2021-01-23 16:05:29.012 - error: host.iomaster Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/out/Release/bindings.node 2021-01-23 16:05:29.013 - error: host.iomaster Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/Release/bindings.node 2021-01-23 16:05:29.013 - error: host.iomaster Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/default/bindings.node 2021-01-23 16:05:29.013 - error: host.iomaster Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/compiled/12.19.0/linux/arm/bindings.node 2021-01-23 16:05:29.013 - error: host.iomaster Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/addon-build/release/install-root/bindings.node 2021-01-23 16:05:29.014 - error: host.iomaster Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/addon-build/debug/install-root/bindings.node 2021-01-23 16:05:29.014 - error: host.iomaster Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/addon-build/default/install-root/bindings.node 2021-01-23 16:05:29.014 - error: host.iomaster Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/binding/node-v72-linux-arm/bindings.node 2021-01-23 16:05:29.015 - error: host.iomaster Caught by controller[0]: at bindings (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:126:9) 2021-01-23 16:05:29.015 - error: host.iomaster Caught by controller[0]: at Object. (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/linux.js:2:36) 2021-01-23 16:05:29.015 - error: host.iomaster Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1015:30) 2021-01-23 16:05:29.015 - error: host.iomaster Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10) 2021-01-23 16:05:29.016 - error: host.iomaster Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:879:32) 2021-01-23 16:05:29.016 - error: host.iomaster Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:724:14) 2021-01-23 16:05:29.016 - error: host.iomaster Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:903:19) 2021-01-23 16:05:29.016 - error: host.iomaster Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18) 2021-01-23 16:05:29.017 - error: host.iomaster Caught by controller[0]: at Object. (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/index.js:14:22) 2021-01-23 16:05:29.017 - error: host.iomaster Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1015:30) { 2021-01-23 16:05:29.017 - error: host.iomaster Caught by controller[0]: tries: [ 2021-01-23 16:05:29.017 - error: host.iomaster Caught by controller[0]: '/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/bindings.node', 2021-01-23 16:05:29.018 - error: host.iomaster Caught by controller[0]: '/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Debug/bindings.node', 2021-01-23 16:05:29.018 - error: host.iomaster Caught by controller[0]: '/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Release/bindings.node', 2021-01-23 16:05:29.018 - error: host.iomaster Caught by controller[0]: '/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/out/Debug/bindings.node', 2021-01-23 16:05:29.018 - error: host.iomaster Caught by controller[0]: '/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/Debug/bindings.node', 2021-01-23 16:05:29.019 - error: host.iomaster Caught by controller[0]: '/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/out/Release/bindings.node', 2021-01-23 16:05:29.019 - error: host.iomaster Caught by controller[0]: '/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/Release/bindings.node', 2021-01-23 16:05:29.019 - error: host.iomaster Caught by controller[0]: '/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/default/bindings.node', 2021-01-23 16:05:29.019 - error: host.iomaster Caught by controller[0]: '/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/compiled/12.19.0/linux/arm/bindings.node', 2021-01-23 16:05:29.020 - error: host.iomaster Caught by controller[0]: '/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/addon-build/release/install-root/bindings.node', 2021-01-23 16:05:29.020 - error: host.iomaster Caught by controller[0]: '/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/addon-build/debug/install-root/bindings.node', 2021-01-23 16:05:29.020 - error: host.iomaster Caught by controller[0]: '/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/addon-build/default/install-root/bindings.node', 2021-01-23 16:05:29.021 - error: host.iomaster Caught by controller[0]: '/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/binding/node-v72-linux-arm/bindings.node' 2021-01-23 16:05:29.021 - error: host.iomaster Caught by controller[0]: ] 2021-01-23 16:05:29.021 - error: host.iomaster Caught by controller[0]: } 2021-01-23 16:05:29.021 - error: host.iomaster instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)Ich hab daraufhin die 1.2.0 wieder installiert und alles läuft ohne Probleme. Hat hier jemand eine Idee? Ich verstehe die Fehlermeldungen nicht, er meckert ja auch diverse "bindings.node" an, ich habe im Adapter unter "binding" nichts eingetragen.
@amg_666
Die Bindings Datei ist teil der serialport library. Ich gehe davon aus das es da Probleme bei der Installation gegeben hat. Bitte verifizieren:- wo befindet sich das Paket zigbee-herdsman-converters
- wo be findet sich das Paket zigbee-herdsman
- wo befindet sich das Paket zz-cnp
im Zweifelsfall folgendes tun:
per npm remove die 3 Pakete entfernen, dann den ioBroker.Zigbee Adapter neu installieren
A.
-
@amg_666
Die Bindings Datei ist teil der serialport library. Ich gehe davon aus das es da Probleme bei der Installation gegeben hat. Bitte verifizieren:- wo befindet sich das Paket zigbee-herdsman-converters
- wo be findet sich das Paket zigbee-herdsman
- wo befindet sich das Paket zz-cnp
im Zweifelsfall folgendes tun:
per npm remove die 3 Pakete entfernen, dann den ioBroker.Zigbee Adapter neu installieren
A.
@asgothian said in Zigbee >1.2.0 funktioniert nicht:
-herdsman-converters
Sorry, Linux-Dummie vorm PC, wie verifiziere ich die Pakete ?
-
@asgothian said in Zigbee >1.2.0 funktioniert nicht:
-herdsman-converters
Sorry, Linux-Dummie vorm PC, wie verifiziere ich die Pakete ?
- per ssh auf das System
cd /opt/iobroker
ls node_modules/zigbee*, schauen ob die beiden herdsman Pakete da sind
ls node_modules/zz*, schauen ob das andere Paket da ist.wenn nein:
ls node_modules/iobroker.zigbee/node_modules/zigbee*
ls node_modules/iobroker.zigbee/node_modules/zz* - per ssh auf das System
-
- per ssh auf das System
cd /opt/iobroker
ls node_modules/zigbee*, schauen ob die beiden herdsman Pakete da sind
ls node_modules/zz*, schauen ob das andere Paket da ist.wenn nein:
ls node_modules/iobroker.zigbee/node_modules/zigbee*
ls node_modules/iobroker.zigbee/node_modules/zz*@asgothian said in Zigbee >1.2.0 funktioniert nicht:
ls node_modules/iobroker.zigbee/node_modules/zz*
Die herdsman-Module sind da, aber bei zz-cnp meckert er rum:
pi@iomaster:/opt/iobroker $ ls node_modules/zigbee* node_modules/zigbee-herdsman: dist npm-shrinkwrap.json temp LICENSE package.json tsconfig.json node_modules README.md typedoc-tsconfig.json node_modules/zigbee-herdsman-converters: converters index.js node_modules ota README.md devices.js LICENSE npm-shrinkwrap.json package.json pi@iomaster:/opt/iobroker $ ls node_modules/zigbee* node_modules/zigbee-herdsman: dist LICENSE node_modules npm-shrinkwrap.json package.json README.md temp tsconfig.json typedoc-tsconfig.json node_modules/zigbee-herdsman-converters: converters devices.js index.js LICENSE node_modules npm-shrinkwrap.json ota package.json README.md pi@iomaster:/opt/iobroker $ ls node_modules/zz* ls: Zugriff auf 'node_modules/zz*' nicht m▒glich: Datei oder Verzeichnis nicht gefunden pi@iomaster:/opt/iobroker $ ls node_modules/iobroker.zigbee/node_modules/zz* ls: Zugriff auf 'node_modules/iobroker.zigbee/node_modules/zz*' nicht m▒glich: Datei oder Verzeichnis nicht gefunden pi@iomaster:/opt/iobroker $ - per ssh auf das System
-
@asgothian said in Zigbee >1.2.0 funktioniert nicht:
ls node_modules/iobroker.zigbee/node_modules/zz*
Die herdsman-Module sind da, aber bei zz-cnp meckert er rum:
pi@iomaster:/opt/iobroker $ ls node_modules/zigbee* node_modules/zigbee-herdsman: dist npm-shrinkwrap.json temp LICENSE package.json tsconfig.json node_modules README.md typedoc-tsconfig.json node_modules/zigbee-herdsman-converters: converters index.js node_modules ota README.md devices.js LICENSE npm-shrinkwrap.json package.json pi@iomaster:/opt/iobroker $ ls node_modules/zigbee* node_modules/zigbee-herdsman: dist LICENSE node_modules npm-shrinkwrap.json package.json README.md temp tsconfig.json typedoc-tsconfig.json node_modules/zigbee-herdsman-converters: converters devices.js index.js LICENSE node_modules npm-shrinkwrap.json ota package.json README.md pi@iomaster:/opt/iobroker $ ls node_modules/zz* ls: Zugriff auf 'node_modules/zz*' nicht m▒glich: Datei oder Verzeichnis nicht gefunden pi@iomaster:/opt/iobroker $ ls node_modules/iobroker.zigbee/node_modules/zz* ls: Zugriff auf 'node_modules/iobroker.zigbee/node_modules/zz*' nicht m▒glich: Datei oder Verzeichnis nicht gefunden pi@iomaster:/opt/iobroker $ -
dann mach mal
- npm remove zigbee-herdsman-converters
- npm remove zigbee-herdsman
und dann
iobroker install zigbee@asgothian said in Zigbee >1.2.0 funktioniert nicht:
iobroker install zigbee
??? Soll ich ein Upgrade machen? die beiden npm remove befehle sind durchgelaufen aber install klappt nicht:
pi@iomaster:/opt/iobroker $ iobroker install zigbee adapter "zigbee" already installed. Use "upgrade" to upgrade to a newer version. pi@iomaster:/opt/iobroker $ -
@asgothian said in Zigbee >1.2.0 funktioniert nicht:
iobroker install zigbee
??? Soll ich ein Upgrade machen? die beiden npm remove befehle sind durchgelaufen aber install klappt nicht:
pi@iomaster:/opt/iobroker $ iobroker install zigbee adapter "zigbee" already installed. Use "upgrade" to upgrade to a newer version. pi@iomaster:/opt/iobroker $ -
@asgothian said in Zigbee >1.2.0 funktioniert nicht:
iobroker install zigbee
??? Soll ich ein Upgrade machen? die beiden npm remove befehle sind durchgelaufen aber install klappt nicht:
pi@iomaster:/opt/iobroker $ iobroker install zigbee adapter "zigbee" already installed. Use "upgrade" to upgrade to a newer version. pi@iomaster:/opt/iobroker $ -
@asgothian Das wars leider nicht, jetzt ist die aktuelle Version 1.4.2 und ich hab im Log wieder die Fehler die ich oben gepostet habe...
-
@asgothian Das wars leider nicht, jetzt ist die aktuelle Version 1.4.2 und ich hab im Log wieder die Fehler die ich oben gepostet habe...
-
@thomas-braun ICh hab zwischenzeitlich node upgedatet auf die 12.20.1 :-)
npm list meckert beim zigbee rum, alles andere ist ok. Ausserdem steht da bei zigbee die 1.2.0, wenn ich nochmal ein zigbee upgrade anstoße bekomme ich aber gesagt, der Adapter sei up-to-date (??)
+-- UNMET DEPENDENCY iobroker.zigbee@1.2.0 | +-- @iobroker/adapter-core@2.4.0 deduped | +-- UNMET DEPENDENCY zigbee-herdsman@0.12.114 | | +-- UNMET DEPENDENCY @babel/cli@7.10.5 | | +-- UNMET DEPENDENCY @babel/preset-env@7.11.0 | | +-- UNMET DEPENDENCY @babel/preset-typescript@7.10.4 | | +-- UNMET DEPENDENCY @types/debug@4.1.5 | | +-- UNMET DEPENDENCY @types/jest@26.0.8 | | +-- UNMET DEPENDENCY @types/nedb@1.8.10 | | +-- UNMET DEPENDENCY @types/serialport@8.0.1 | | +-- UNMET DEPENDENCY @typescript-eslint/eslint-plugin@3.7.1 | | +-- UNMET DEPENDENCY @typescript-eslint/parser@3.7.1 | | +-- UNMET DEPENDENCY debug@4.1.1 | | | `-- UNMET DEPENDENCY ms@2.1.2 | | +-- UNMET DEPENDENCY eslint@7.6.0 | | +-- UNMET DEPENDENCY fast-deep-equal@3.1.3 | | +-- UNMET DEPENDENCY jest@26.2.2 | | +-- UNMET DEPENDENCY mixin-deep@2.0.1 | | +-- UNMET DEPENDENCY serialport@9.0.0 | | | +-- UNMET DEPENDENCY @serialport/binding-mock@9.0.0 | | | | +-- UNMET DEPENDENCY @serialport/binding-abstract@9.0.0 | | | | | `-- UNMET DEPENDENCY debug@4.1.1 | | | | `-- UNMET DEPENDENCY debug@4.1.1 | | | +-- UNMET DEPENDENCY @serialport/bindings@9.0.0 | | | | +-- UNMET DEPENDENCY @serialport/binding-abstract@9.0.0 | | | | +-- UNMET DEPENDENCY @serialport/parser-readline@9.0.0 | | | | +-- UNMET DEPENDENCY bindings@1.5.0 | | | | | `-- UNMET DEPENDENCY file-uri-to-path@1.0.0 | | | | +-- UNMET DEPENDENCY debug@4.1.1 | | | | +-- UNMET DEPENDENCY nan@2.14.1 | | | | `-- UNMET DEPENDENCY prebuild-install@5.3.5 | | | | +-- UNMET DEPENDENCY detect-libc@1.0.3 | | | | +-- UNMET DEPENDENCY expand-template@2.0.3 | | | | +-- UNMET DEPENDENCY github-from-package@0.0.0 | | | | +-- UNMET DEPENDENCY minimist@1.2.5 | | | | +-- UNMET DEPENDENCY mkdirp@0.5.5 | | | | | `-- UNMET DEPENDENCY minimist@1.2.5 | | | | +-- UNMET DEPENDENCY napi-build-utils@1.0.2 | | | | +-- UNMET DEPENDENCY node-abi@2.18.0 | | | | | `-- UNMET DEPENDENCY semver@5.7.1 | | | | +-- UNMET DEPENDENCY noop-logger@0.1.1 | | | | +-- UNMET DEPENDENCY npmlog@4.1.2 | | | | | +-- UNMET DEPENDENCY are-we-there-yet@1.1.5 | | | | | | +-- UNMET DEPENDENCY delegates@1.0.0 | | | | | | `-- UNMET DEPENDENCY readable-stream@2.3.7 | | | | | | +-- UNMET DEPENDENCY core-util-is@1.0.2 | | | | | | +-- UNMET DEPENDENCY inherits@2.0.4 | | | | | | +-- UNMET DEPENDENCY isarray@1.0.0 | | | | | | +-- UNMET DEPENDENCY process-nextick-args@2.0.1 | | | | | | +-- UNMET DEPENDENCY safe-buffer@5.1.2 | | | | | | +-- UNMET DEPENDENCY string_decoder@1.1.1 | | | | | | | `-- UNMET DEPENDENCY safe-buffer@5.1.2 | | | | | | `-- UNMET DEPENDENCY util-deprecate@1.0.2 | | | | | +-- UNMET DEPENDENCY console-control-strings@1.1.0 | | | | | +-- UNMET DEPENDENCY gauge@2.7.4 | | | | | | +-- UNMET DEPENDENCY aproba@1.2.0 | | | | | | +-- UNMET DEPENDENCY console-control-strings@1.1.0 | | | | | | +-- UNMET DEPENDENCY has-unicode@2.0.1 | | | | | | +-- UNMET DEPENDENCY object-assign@4.1.1 | | | | | | +-- UNMET DEPENDENCY signal-exit@3.0.3 | | | | | | +-- UNMET DEPENDENCY string-width@1.0.2 | | | | | | | +-- UNMET DEPENDENCY code-point-at@1.1.0 | | | | | | | +-- UNMET DEPENDENCY is-fullwidth-code-point@1.0.0 | | | | | | | | `-- UNMET DEPENDENCY number-is-nan@1.0.1 | | | | | | | `-- UNMET DEPENDENCY strip-ansi@3.0.1 | | | | | | +-- UNMET DEPENDENCY strip-ansi@3.0.1 | | | | | | | `-- UNMET DEPENDENCY ansi-regex@2.1.1 | | | | | | `-- UNMET DEPENDENCY wide-align@1.1.3 | | | | | | `-- UNMET DEPENDENCY string-width@1.0.2 | | | | | `-- UNMET DEPENDENCY set-blocking@2.0.0 | | | | +-- UNMET DEPENDENCY pump@3.0.0 | | | | | +-- UNMET DEPENDENCY end-of-stream@1.4.4 | | | | | | `-- UNMET DEPENDENCY once@1.4.0 | | | | | `-- UNMET DEPENDENCY once@1.4.0 | | | | | `-- UNMET DEPENDENCY wrappy@1.0.2 | | | | +-- UNMET DEPENDENCY rc@1.2.8 | | | | | +-- UNMET DEPENDENCY deep-extend@0.6.0 | | | | | +-- UNMET DEPENDENCY ini@1.3.5 | | | | | +-- UNMET DEPENDENCY minimist@1.2.5 | | | | | `-- UNMET DEPENDENCY strip-json-comments@2.0.1 | | | | +-- UNMET DEPENDENCY simple-get@3.1.0 | | | | | +-- UNMET DEPENDENCY decompress-response@4.2.1 | | | | | | `-- UNMET DEPENDENCY mimic-response@2.1.0 | | | | | +-- UNMET DEPENDENCY once@1.4.0 | | | | | `-- UNMET DEPENDENCY simple-concat@1.0.1 | | | | +-- UNMET DEPENDENCY tar-fs@2.1.0 | | | | | +-- UNMET DEPENDENCY chownr@1.1.4 | | | | | +-- UNMET DEPENDENCY mkdirp-classic@0.5.3 | | | | | +-- UNMET DEPENDENCY pump@3.0.0 | | | | | `-- UNMET DEPENDENCY tar-stream@2.1.3 | | | | | +-- UNMET DEPENDENCY bl@4.0.2 | | | | | | +-- UNMET DEPENDENCY buffer@5.6.0 | | | | | | | +-- UNMET DEPENDENCY base64-js@1.3.1 | | | | | | | `-- UNMET DEPENDENCY ieee754@1.1.13 | | | | | | +-- UNMET DEPENDENCY inherits@2.0.4 | | | | | | `-- UNMET DEPENDENCY readable-stream@3.6.0 | | | | | | +-- UNMET DEPENDENCY inherits@2.0.4 | | | | | | +-- UNMET DEPENDENCY string_decoder@1.1.1 | | | | | | `-- UNMET DEPENDENCY util-deprecate@1.0.2 | | | | | +-- UNMET DEPENDENCY end-of-stream@1.4.4 | | | | | +-- UNMET DEPENDENCY fs-constants@1.0.0 | | | | | +-- UNMET DEPENDENCY inherits@2.0.4 | | | | | `-- UNMET DEPENDENCY readable-stream@3.6.0 | | | | | +-- UNMET DEPENDENCY inherits@2.0.4 | | | | | +-- UNMET DEPENDENCY string_decoder@1.1.1 | | | | | `-- UNMET DEPENDENCY util-deprecate@1.0.2 | | | | +-- UNMET DEPENDENCY tunnel-agent@0.6.0 | | | | | `-- UNMET DEPENDENCY safe-buffer@5.1.2 | | | | `-- UNMET DEPENDENCY which-pm-runs@1.0.0 | | | +-- UNMET DEPENDENCY @serialport/parser-byte-length@9.0.0 | | | +-- UNMET DEPENDENCY @serialport/parser-cctalk@9.0.0 | | | +-- UNMET DEPENDENCY @serialport/parser-delimiter@9.0.0 | | | +-- UNMET DEPENDENCY @serialport/parser-readline@9.0.0 | | | | `-- UNMET DEPENDENCY @serialport/parser-delimiter@9.0.0 | | | +-- UNMET DEPENDENCY @serialport/parser-ready@9.0.0 | | | +-- UNMET DEPENDENCY @serialport/parser-regex@9.0.0 | | | +-- UNMET DEPENDENCY @serialport/stream@9.0.0 | | | | `-- UNMET DEPENDENCY debug@4.1.1 | | | `-- UNMET DEPENDENCY debug@4.1.1 | | +-- UNMET DEPENDENCY slip@1.0.2 | | +-- UNMET DEPENDENCY typedoc@0.17.8 | | +-- UNMET DEPENDENCY typedoc-plugin-markdown@2.4.0 | | +-- UNMET DEPENDENCY typedoc-plugin-no-inherit@1.1.10 | | +-- UNMET DEPENDENCY typedoc-plugin-sourcefile-url@1.0.6 | | `-- UNMET DEPENDENCY typescript@3.9.7 | `-- UNMET DEPENDENCY zigbee-herdsman-converters@12.0.158 | +-- UNMET DEPENDENCY axios@0.19.2 | | `-- UNMET DEPENDENCY follow-redirects@1.5.10 | | `-- UNMET DEPENDENCY debug@3.1.0 | | `-- UNMET DEPENDENCY ms@2.0.0 | +-- UNMET DEPENDENCY eslint@7.6.0 | +-- UNMET DEPENDENCY eslint-config-google@0.14.0 | +-- UNMET DEPENDENCY eslint-plugin-jest@23.20.0 | +-- UNMET DEPENDENCY https-proxy-agent@5.0.0 | | +-- UNMET DEPENDENCY agent-base@6.0.1 | | | `-- UNMET DEPENDENCY debug@4.1.1 | | | `-- UNMET DEPENDENCY ms@2.1.2 | | `-- UNMET DEPENDENCY debug@4.1.1 | | `-- UNMET DEPENDENCY ms@2.1.2 | +-- UNMET DEPENDENCY jest@26.2.2 | `-- UNMET DEPENDENCY tar-stream@2.1.3 | +-- UNMET DEPENDENCY bl@4.0.2 | | +-- UNMET DEPENDENCY buffer@5.6.0 | | | +-- UNMET DEPENDENCY base64-js@1.3.1 | | | `-- UNMET DEPENDENCY ieee754@1.1.13 | | +-- UNMET DEPENDENCY inherits@2.0.4 | | `-- UNMET DEPENDENCY readable-stream@3.6.0 | +-- UNMET DEPENDENCY end-of-stream@1.4.4 | | `-- UNMET DEPENDENCY once@1.4.0 | | `-- UNMET DEPENDENCY wrappy@1.0.2 | +-- UNMET DEPENDENCY fs-constants@1.0.0 | +-- UNMET DEPENDENCY inherits@2.0.4 | `-- UNMET DEPENDENCY readable-stream@3.6.0 | +-- UNMET DEPENDENCY inherits@2.0.4 | +-- UNMET DEPENDENCY string_decoder@1.3.0 | | `-- UNMET DEPENDENCY safe-buffer@5.2.1 | `-- UNMET DEPENDENCY util-deprecate@1.0.2 -
@thomas-braun ICh hab zwischenzeitlich node upgedatet auf die 12.20.1 :-)
npm list meckert beim zigbee rum, alles andere ist ok. Ausserdem steht da bei zigbee die 1.2.0, wenn ich nochmal ein zigbee upgrade anstoße bekomme ich aber gesagt, der Adapter sei up-to-date (??)
+-- UNMET DEPENDENCY iobroker.zigbee@1.2.0 | +-- @iobroker/adapter-core@2.4.0 deduped | +-- UNMET DEPENDENCY zigbee-herdsman@0.12.114 | | +-- UNMET DEPENDENCY @babel/cli@7.10.5 | | +-- UNMET DEPENDENCY @babel/preset-env@7.11.0 | | +-- UNMET DEPENDENCY @babel/preset-typescript@7.10.4 | | +-- UNMET DEPENDENCY @types/debug@4.1.5 | | +-- UNMET DEPENDENCY @types/jest@26.0.8 | | +-- UNMET DEPENDENCY @types/nedb@1.8.10 | | +-- UNMET DEPENDENCY @types/serialport@8.0.1 | | +-- UNMET DEPENDENCY @typescript-eslint/eslint-plugin@3.7.1 | | +-- UNMET DEPENDENCY @typescript-eslint/parser@3.7.1 | | +-- UNMET DEPENDENCY debug@4.1.1 | | | `-- UNMET DEPENDENCY ms@2.1.2 | | +-- UNMET DEPENDENCY eslint@7.6.0 | | +-- UNMET DEPENDENCY fast-deep-equal@3.1.3 | | +-- UNMET DEPENDENCY jest@26.2.2 | | +-- UNMET DEPENDENCY mixin-deep@2.0.1 | | +-- UNMET DEPENDENCY serialport@9.0.0 | | | +-- UNMET DEPENDENCY @serialport/binding-mock@9.0.0 | | | | +-- UNMET DEPENDENCY @serialport/binding-abstract@9.0.0 | | | | | `-- UNMET DEPENDENCY debug@4.1.1 | | | | `-- UNMET DEPENDENCY debug@4.1.1 | | | +-- UNMET DEPENDENCY @serialport/bindings@9.0.0 | | | | +-- UNMET DEPENDENCY @serialport/binding-abstract@9.0.0 | | | | +-- UNMET DEPENDENCY @serialport/parser-readline@9.0.0 | | | | +-- UNMET DEPENDENCY bindings@1.5.0 | | | | | `-- UNMET DEPENDENCY file-uri-to-path@1.0.0 | | | | +-- UNMET DEPENDENCY debug@4.1.1 | | | | +-- UNMET DEPENDENCY nan@2.14.1 | | | | `-- UNMET DEPENDENCY prebuild-install@5.3.5 | | | | +-- UNMET DEPENDENCY detect-libc@1.0.3 | | | | +-- UNMET DEPENDENCY expand-template@2.0.3 | | | | +-- UNMET DEPENDENCY github-from-package@0.0.0 | | | | +-- UNMET DEPENDENCY minimist@1.2.5 | | | | +-- UNMET DEPENDENCY mkdirp@0.5.5 | | | | | `-- UNMET DEPENDENCY minimist@1.2.5 | | | | +-- UNMET DEPENDENCY napi-build-utils@1.0.2 | | | | +-- UNMET DEPENDENCY node-abi@2.18.0 | | | | | `-- UNMET DEPENDENCY semver@5.7.1 | | | | +-- UNMET DEPENDENCY noop-logger@0.1.1 | | | | +-- UNMET DEPENDENCY npmlog@4.1.2 | | | | | +-- UNMET DEPENDENCY are-we-there-yet@1.1.5 | | | | | | +-- UNMET DEPENDENCY delegates@1.0.0 | | | | | | `-- UNMET DEPENDENCY readable-stream@2.3.7 | | | | | | +-- UNMET DEPENDENCY core-util-is@1.0.2 | | | | | | +-- UNMET DEPENDENCY inherits@2.0.4 | | | | | | +-- UNMET DEPENDENCY isarray@1.0.0 | | | | | | +-- UNMET DEPENDENCY process-nextick-args@2.0.1 | | | | | | +-- UNMET DEPENDENCY safe-buffer@5.1.2 | | | | | | +-- UNMET DEPENDENCY string_decoder@1.1.1 | | | | | | | `-- UNMET DEPENDENCY safe-buffer@5.1.2 | | | | | | `-- UNMET DEPENDENCY util-deprecate@1.0.2 | | | | | +-- UNMET DEPENDENCY console-control-strings@1.1.0 | | | | | +-- UNMET DEPENDENCY gauge@2.7.4 | | | | | | +-- UNMET DEPENDENCY aproba@1.2.0 | | | | | | +-- UNMET DEPENDENCY console-control-strings@1.1.0 | | | | | | +-- UNMET DEPENDENCY has-unicode@2.0.1 | | | | | | +-- UNMET DEPENDENCY object-assign@4.1.1 | | | | | | +-- UNMET DEPENDENCY signal-exit@3.0.3 | | | | | | +-- UNMET DEPENDENCY string-width@1.0.2 | | | | | | | +-- UNMET DEPENDENCY code-point-at@1.1.0 | | | | | | | +-- UNMET DEPENDENCY is-fullwidth-code-point@1.0.0 | | | | | | | | `-- UNMET DEPENDENCY number-is-nan@1.0.1 | | | | | | | `-- UNMET DEPENDENCY strip-ansi@3.0.1 | | | | | | +-- UNMET DEPENDENCY strip-ansi@3.0.1 | | | | | | | `-- UNMET DEPENDENCY ansi-regex@2.1.1 | | | | | | `-- UNMET DEPENDENCY wide-align@1.1.3 | | | | | | `-- UNMET DEPENDENCY string-width@1.0.2 | | | | | `-- UNMET DEPENDENCY set-blocking@2.0.0 | | | | +-- UNMET DEPENDENCY pump@3.0.0 | | | | | +-- UNMET DEPENDENCY end-of-stream@1.4.4 | | | | | | `-- UNMET DEPENDENCY once@1.4.0 | | | | | `-- UNMET DEPENDENCY once@1.4.0 | | | | | `-- UNMET DEPENDENCY wrappy@1.0.2 | | | | +-- UNMET DEPENDENCY rc@1.2.8 | | | | | +-- UNMET DEPENDENCY deep-extend@0.6.0 | | | | | +-- UNMET DEPENDENCY ini@1.3.5 | | | | | +-- UNMET DEPENDENCY minimist@1.2.5 | | | | | `-- UNMET DEPENDENCY strip-json-comments@2.0.1 | | | | +-- UNMET DEPENDENCY simple-get@3.1.0 | | | | | +-- UNMET DEPENDENCY decompress-response@4.2.1 | | | | | | `-- UNMET DEPENDENCY mimic-response@2.1.0 | | | | | +-- UNMET DEPENDENCY once@1.4.0 | | | | | `-- UNMET DEPENDENCY simple-concat@1.0.1 | | | | +-- UNMET DEPENDENCY tar-fs@2.1.0 | | | | | +-- UNMET DEPENDENCY chownr@1.1.4 | | | | | +-- UNMET DEPENDENCY mkdirp-classic@0.5.3 | | | | | +-- UNMET DEPENDENCY pump@3.0.0 | | | | | `-- UNMET DEPENDENCY tar-stream@2.1.3 | | | | | +-- UNMET DEPENDENCY bl@4.0.2 | | | | | | +-- UNMET DEPENDENCY buffer@5.6.0 | | | | | | | +-- UNMET DEPENDENCY base64-js@1.3.1 | | | | | | | `-- UNMET DEPENDENCY ieee754@1.1.13 | | | | | | +-- UNMET DEPENDENCY inherits@2.0.4 | | | | | | `-- UNMET DEPENDENCY readable-stream@3.6.0 | | | | | | +-- UNMET DEPENDENCY inherits@2.0.4 | | | | | | +-- UNMET DEPENDENCY string_decoder@1.1.1 | | | | | | `-- UNMET DEPENDENCY util-deprecate@1.0.2 | | | | | +-- UNMET DEPENDENCY end-of-stream@1.4.4 | | | | | +-- UNMET DEPENDENCY fs-constants@1.0.0 | | | | | +-- UNMET DEPENDENCY inherits@2.0.4 | | | | | `-- UNMET DEPENDENCY readable-stream@3.6.0 | | | | | +-- UNMET DEPENDENCY inherits@2.0.4 | | | | | +-- UNMET DEPENDENCY string_decoder@1.1.1 | | | | | `-- UNMET DEPENDENCY util-deprecate@1.0.2 | | | | +-- UNMET DEPENDENCY tunnel-agent@0.6.0 | | | | | `-- UNMET DEPENDENCY safe-buffer@5.1.2 | | | | `-- UNMET DEPENDENCY which-pm-runs@1.0.0 | | | +-- UNMET DEPENDENCY @serialport/parser-byte-length@9.0.0 | | | +-- UNMET DEPENDENCY @serialport/parser-cctalk@9.0.0 | | | +-- UNMET DEPENDENCY @serialport/parser-delimiter@9.0.0 | | | +-- UNMET DEPENDENCY @serialport/parser-readline@9.0.0 | | | | `-- UNMET DEPENDENCY @serialport/parser-delimiter@9.0.0 | | | +-- UNMET DEPENDENCY @serialport/parser-ready@9.0.0 | | | +-- UNMET DEPENDENCY @serialport/parser-regex@9.0.0 | | | +-- UNMET DEPENDENCY @serialport/stream@9.0.0 | | | | `-- UNMET DEPENDENCY debug@4.1.1 | | | `-- UNMET DEPENDENCY debug@4.1.1 | | +-- UNMET DEPENDENCY slip@1.0.2 | | +-- UNMET DEPENDENCY typedoc@0.17.8 | | +-- UNMET DEPENDENCY typedoc-plugin-markdown@2.4.0 | | +-- UNMET DEPENDENCY typedoc-plugin-no-inherit@1.1.10 | | +-- UNMET DEPENDENCY typedoc-plugin-sourcefile-url@1.0.6 | | `-- UNMET DEPENDENCY typescript@3.9.7 | `-- UNMET DEPENDENCY zigbee-herdsman-converters@12.0.158 | +-- UNMET DEPENDENCY axios@0.19.2 | | `-- UNMET DEPENDENCY follow-redirects@1.5.10 | | `-- UNMET DEPENDENCY debug@3.1.0 | | `-- UNMET DEPENDENCY ms@2.0.0 | +-- UNMET DEPENDENCY eslint@7.6.0 | +-- UNMET DEPENDENCY eslint-config-google@0.14.0 | +-- UNMET DEPENDENCY eslint-plugin-jest@23.20.0 | +-- UNMET DEPENDENCY https-proxy-agent@5.0.0 | | +-- UNMET DEPENDENCY agent-base@6.0.1 | | | `-- UNMET DEPENDENCY debug@4.1.1 | | | `-- UNMET DEPENDENCY ms@2.1.2 | | `-- UNMET DEPENDENCY debug@4.1.1 | | `-- UNMET DEPENDENCY ms@2.1.2 | +-- UNMET DEPENDENCY jest@26.2.2 | `-- UNMET DEPENDENCY tar-stream@2.1.3 | +-- UNMET DEPENDENCY bl@4.0.2 | | +-- UNMET DEPENDENCY buffer@5.6.0 | | | +-- UNMET DEPENDENCY base64-js@1.3.1 | | | `-- UNMET DEPENDENCY ieee754@1.1.13 | | +-- UNMET DEPENDENCY inherits@2.0.4 | | `-- UNMET DEPENDENCY readable-stream@3.6.0 | +-- UNMET DEPENDENCY end-of-stream@1.4.4 | | `-- UNMET DEPENDENCY once@1.4.0 | | `-- UNMET DEPENDENCY wrappy@1.0.2 | +-- UNMET DEPENDENCY fs-constants@1.0.0 | +-- UNMET DEPENDENCY inherits@2.0.4 | `-- UNMET DEPENDENCY readable-stream@3.6.0 | +-- UNMET DEPENDENCY inherits@2.0.4 | +-- UNMET DEPENDENCY string_decoder@1.3.0 | | `-- UNMET DEPENDENCY safe-buffer@5.2.1 | `-- UNMET DEPENDENCY util-deprecate@1.0.2@amg_666 Ja, da ist in den Deps was krumm. Sah bei mir auch so aus. Zusätzlich auch noch an Ende der Liste einige Meldungen.
Zigbee rausgeworfen und die Deps sind wieder sauber. -
@amg_666 Ja, da ist in den Deps was krumm. Sah bei mir auch so aus. Zusätzlich auch noch an Ende der Liste einige Meldungen.
Zigbee rausgeworfen und die Deps sind wieder sauber.@thomas-braun Also den zigbee komplett löschen und neu installieren? Kann ich danach aus dem Backup einfach die shepherd drüberbügeln? Alles neu anlernen möchte ich eigentlich nicht :-)
-
@thomas-braun Also den zigbee komplett löschen und neu installieren? Kann ich danach aus dem Backup einfach die shepherd drüberbügeln? Alles neu anlernen möchte ich eigentlich nicht :-)
@amg_666 Bei mir läuft deconz. Den zigbee-Adapter habe ich nur unter Beobachtung im System.
-
@thomas-braun Also den zigbee komplett löschen und neu installieren? Kann ich danach aus dem Backup einfach die shepherd drüberbügeln? Alles neu anlernen möchte ich eigentlich nicht :-)
-
@asgothian Über den Adapter gelöscht (war ok) und dann versucht zu installieren...
$ ./iobroker add zigbee --host iomaster NPM version: 6.14.10 npm install iobroker.zigbee@1.4.2 --loglevel error --prefix "/opt/iobroker" (System call) ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)': ../src/serialport.cpp:78:69: 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] uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen); ^~~~~~~~~~~~~../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)':../src/serialport.cpp:135:71: 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] uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate); ^~~~~~~~~~~~~~~../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)':../src/serialport.cpp:175:70: 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] uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose); ^~~~~~~~~~~~~~../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)':../src/serialport.cpp:215:70: 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] uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush); ^~~~~~~~~~~~~~../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)':../src/serialport.cpp:270:68: 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] uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet); ^~~~~~~~~~~~../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)':../src/serialport.cpp:314:68: 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] uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet); ^~~~~~~~~~~~../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)':../src/serialport.cpp:363:76: 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] uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate); ^~~~~~~~~~~~~~~~~~~~../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)':../src/serialport.cpp:409:70: 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] uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain); ^~~~~~~~~~~~~~../src/serialport.cpp: At global scope:../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of 'ToParityEnum' [-Wparentheses] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) { ^../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of 'ToStopBitEnum' [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) { ^In file included from ../../../nan/nan.h:56, from ../src/./serialport.h:6, from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.20.1/include/node/node.h:737:43: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local<v8::Object>)'} 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/iobroker/.cache/node-gyp/12.20.1/include/node/node.h:771:3: note: in expansion of macro 'NODE_MODULE_X' NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~../src/serialport.cpp:483:1: note: in expansion of macro 'NODE_MODULE' NODE_MODULE(serialport, init); ^~~~~~~~~~~ Killed ERROR: host.iomaster Cannot install iobroker.zigbee@1.4.2: 137 ../src/serialport_unix.cpp: In function 'int setup(int, OpenBaton*)':../src/serialport_unix.cpp:176:60: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=] snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path); ^~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp:176:13: note: 'snprintf' output 20 or more bytes (assuming 1043) into a destination of size 1024 snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp: In function 'void EIO_Open(uv_work_t*)':../src/serialport_unix.cpp:86:60: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=] snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp:86:13: note: 'snprintf' output 22 or more bytes (assuming 1045) into a destination of size 1024 snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ERROR: process exited with code 25 -
@asgothian Über den Adapter gelöscht (war ok) und dann versucht zu installieren...
$ ./iobroker add zigbee --host iomaster NPM version: 6.14.10 npm install iobroker.zigbee@1.4.2 --loglevel error --prefix "/opt/iobroker" (System call) ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)': ../src/serialport.cpp:78:69: 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] uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen); ^~~~~~~~~~~~~../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)':../src/serialport.cpp:135:71: 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] uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate); ^~~~~~~~~~~~~~~../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)':../src/serialport.cpp:175:70: 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] uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose); ^~~~~~~~~~~~~~../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)':../src/serialport.cpp:215:70: 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] uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush); ^~~~~~~~~~~~~~../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)':../src/serialport.cpp:270:68: 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] uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet); ^~~~~~~~~~~~../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)':../src/serialport.cpp:314:68: 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] uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet); ^~~~~~~~~~~~../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)':../src/serialport.cpp:363:76: 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] uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate); ^~~~~~~~~~~~~~~~~~~~../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)':../src/serialport.cpp:409:70: 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] uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain); ^~~~~~~~~~~~~~../src/serialport.cpp: At global scope:../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of 'ToParityEnum' [-Wparentheses] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) { ^../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of 'ToStopBitEnum' [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) { ^In file included from ../../../nan/nan.h:56, from ../src/./serialport.h:6, from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.20.1/include/node/node.h:737:43: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local<v8::Object>)'} 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/iobroker/.cache/node-gyp/12.20.1/include/node/node.h:771:3: note: in expansion of macro 'NODE_MODULE_X' NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~../src/serialport.cpp:483:1: note: in expansion of macro 'NODE_MODULE' NODE_MODULE(serialport, init); ^~~~~~~~~~~ Killed ERROR: host.iomaster Cannot install iobroker.zigbee@1.4.2: 137 ../src/serialport_unix.cpp: In function 'int setup(int, OpenBaton*)':../src/serialport_unix.cpp:176:60: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=] snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path); ^~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp:176:13: note: 'snprintf' output 20 or more bytes (assuming 1043) into a destination of size 1024 snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp: In function 'void EIO_Open(uv_work_t*)':../src/serialport_unix.cpp:86:60: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=] snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp:86:13: note: 'snprintf' output 22 or more bytes (assuming 1045) into a destination of size 1024 snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ERROR: process exited with code 25 -
@amg_666 bist du sicher das du node 12.19 nutzt ? serialport 9 sollte mit node 12 gehen.
mach mal bitte npm list serialport
A.
@asgothian said in Zigbee >1.2.0 funktioniert nicht:
npm list serialport
node.js 12.20.1
pi@iomaster:/opt/iobroker $ npm list serialport iobroker.inst@2.0.3 /opt/iobroker `-- iobroker.discovery@2.5.0 `-- serialport@9.0.4
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden