NEWS
[gelöst] HM-RPC update
-
Mensch mach dir doch nicht soviel Arbeit.
Trotzdem danke.
mfg `
Ach… da lerne ich vielleicht noch etwas und weiß jetzt schon warum ich kein Windows nutzte :mrgreen:
Habe das jetzt mal durch... JS-Controller, Admin, RPC, Node und NPM auf deinen Leveln gehabt.

Nach upgrade von RPC:

Denke also es liegt irgendwie an deiner lokalen Installation.
Vielleicht hilft die Anweisung von Bluefox ja jetzt.
Viel Erfolg!
-
Danke für die Info.
Probier ich aus.
mfg
-
-
Probleme hatte ich wie gehabt bei folgendem Befehl
C:\ioBroker>npm i iobroker.hm-rpc@1.6.2 > authenticate-pam@1.0.2 install C:\ioBroker\node_modules\authenticate-pam > node-gyp rebuild C:\ioBroker\node_modules\authenticate-pam>if not defined npm_config_node_gyp (no de "C:\Program Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_ modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild ) Die Projekte in dieser Projektmappe werden nacheinander erstellt. Um eine parall ele Erstellung zu ermöglichen, müssen Sie den Schalter "/m" hinzufügen. authenticate_pam.cc win_delay_load_hook.cc ..\authenticate_pam.cc(24): fatal error C1083: Cannot open include file: 'unist d.h': No such file or directory [C:\ioBroker\node_modules\authenticate-pam\buil d\authenticate_pam.vcxproj] gyp ERR! build error gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` fail ed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Program Files (x86)\nodejs\node_mo dules\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:191:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_proces s.js:215:12) gyp ERR! System Windows_NT 6.1.7601 gyp ERR! command "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "reb uild" gyp ERR! cwd C:\ioBroker\node_modules\authenticate-pam gyp ERR! node -v v6.9.0 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok > mdns@2.4.0 install C:\ioBroker\node_modules\mdns > node-gyp rebuild C:\ioBroker\node_modules\mdns>if not defined npm_config_node_gyp (node "C:\Progr am Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node -gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild ) Die Projekte in dieser Projektmappe werden nacheinander erstellt. Um eine parall ele Erstellung zu ermöglichen, müssen Sie den Schalter "/m" hinzufügen. dns_sd.cpp dns_service_browse.cpp dns_service_enumerate_domains.cpp dns_service_get_addr_info.cpp c:\iobroker\node_modules\mdns\src\mdns.hpp(32): fatal error C1083: Cannot open include file: 'dns_sd.h': No such file or directory (compiling source file ..\s rc\dns_service_enumerate_domains.cpp) [C:\ioBroker\node_modules\mdns\build\dns_ sd_bindings.vcxproj] c:\iobroker\node_modules\mdns\src\mdns.hpp(32): fatal error C1083: Cannot open include file: 'dns_sd.h': No such file or directory (compiling source file ..\s rc\dns_service_get_addr_info.cpp) [C:\ioBroker\node_modules\mdns\build\dns_sd_b indings.vcxproj] dns_service_process_result.cpp dns_service_ref.cpp c:\iobroker\node_modules\mdns\src\mdns.hpp(32): fatal error C1083: Cannot open include file: 'dns_sd.h': No such file or directory (compiling source file ..\s rc\dns_sd.cpp) [C:\ioBroker\node_modules\mdns\build\dns_sd_bindings.vcxproj] c:\iobroker\node_modules\mdns\src\mdns.hpp(32): fatal error C1083: Cannot open include file: 'dns_sd.h': No such file or directory (compiling source file ..\s rc\dns_service_browse.cpp) [C:\ioBroker\node_modules\mdns\build\dns_sd_bindings .vcxproj] dns_service_ref_deallocate.cpp dns_service_ref_sock_fd.cpp c:\iobroker\node_modules\mdns\src\mdns.hpp(32): fatal error C1083: Cannot open include file: 'dns_sd.h': No such file or directory (compiling source file ..\s rc\dns_service_process_result.cpp) [C:\ioBroker\node_modules\mdns\build\dns_sd_ bindings.vcxproj] dns_service_register.cpp c:\iobroker\node_modules\mdns\src\mdns.hpp(32): fatal error C1083: Cannot open include file: 'dns_sd.h': No such file or directory (compiling source file ..\s rc\dns_service_ref.cpp) [C:\ioBroker\node_modules\mdns\build\dns_sd_bindings.vc xproj] dns_service_resolve.cpp c:\iobroker\node_modules\mdns\src\mdns.hpp(32): fatal error C1083: Cannot open include file: 'dns_sd.h': No such file or directory (compiling source file ..\s rc\dns_service_ref_deallocate.cpp) [C:\ioBroker\node_modules\mdns\build\dns_sd_ bindings.vcxproj] c:\iobroker\node_modules\mdns\src\mdns.hpp(32): fatal error C1083: Cannot open include file: 'dns_sd.h': No such file or directory (compiling source file ..\s rc\dns_service_ref_sock_fd.cpp) [C:\ioBroker\node_modules\mdns\build\dns_sd_bin dings.vcxproj] dns_service_update_record.cpp mdns_utils.cpp c:\iobroker\node_modules\mdns\src\mdns.hpp(32): fatal error C1083: Cannot open include file: 'dns_sd.h': No such file or directory (compiling source file ..\s rc\dns_service_register.cpp) [C:\ioBroker\node_modules\mdns\build\dns_sd_bindin gs.vcxproj] network_interface.cpp c:\iobroker\node_modules\mdns\src\mdns.hpp(32): fatal error C1083: Cannot open include file: 'dns_sd.h': No such file or directory (compiling source file ..\s rc\dns_service_resolve.cpp) [C:\ioBroker\node_modules\mdns\build\dns_sd_binding s.vcxproj] socket_watcher.cpp c:\iobroker\node_modules\mdns\src\mdns.hpp(32): fatal error C1083: Cannot open include file: 'dns_sd.h': No such file or directory (compiling source file ..\s rc\mdns_utils.cpp) [C:\ioBroker\node_modules\mdns\build\dns_sd_bindings.vcxproj ] txt_record_ref.cpp c:\iobroker\node_modules\mdns\src\mdns.hpp(32): fatal error C1083: Cannot open include file: 'dns_sd.h': No such file or directory (compiling source file ..\s rc\dns_service_update_record.cpp) [C:\ioBroker\node_modules\mdns\build\dns_sd_b indings.vcxproj] txt_record_create.cpp c:\iobroker\node_modules\mdns\src\mdns.hpp(32): fatal error C1083: Cannot open include file: 'dns_sd.h': No such file or directory (compiling source file ..\s rc\network_interface.cpp) [C:\ioBroker\node_modules\mdns\build\dns_sd_bindings. vcxproj] txt_record_deallocate.cpp c:\iobroker\node_modules\mdns\src\mdns.hpp(32): fatal error C1083: Cannot open include file: 'dns_sd.h': No such file or directory (compiling source file ..\s rc\txt_record_ref.cpp) [C:\ioBroker\node_modules\mdns\build\dns_sd_bindings.vcx proj] c:\iobroker\node_modules\mdns\src\mdns.hpp(32): fatal error C1083: Cannot open include file: 'dns_sd.h': No such file or directory (compiling source file ..\s rc\socket_watcher.cpp) [C:\ioBroker\node_modules\mdns\build\dns_sd_bindings.vcx proj] txt_record_set_value.cpp txt_record_get_length.cpp c:\iobroker\node_modules\mdns\src\mdns.hpp(32): fatal error C1083: Cannot open include file: 'dns_sd.h': No such file or directory (compiling source file ..\s rc\txt_record_create.cpp) [C:\ioBroker\node_modules\mdns\build\dns_sd_bindings. vcxproj] txt_record_buffer_to_object.cpp c:\iobroker\node_modules\mdns\src\mdns.hpp(32): fatal error C1083: Cannot open include file: 'dns_sd.h': No such file or directory (compiling source file ..\s rc\txt_record_deallocate.cpp) [C:\ioBroker\node_modules\mdns\build\dns_sd_bindi ngs.vcxproj] win_delay_load_hook.cc c:\iobroker\node_modules\mdns\src\mdns.hpp(32): fatal error C1083: Cannot open include file: 'dns_sd.h': No such file or directory (compiling source file ..\s rc\txt_record_set_value.cpp) [C:\ioBroker\node_modules\mdns\build\dns_sd_bindin gs.vcxproj] c:\iobroker\node_modules\mdns\src\mdns.hpp(32): fatal error C1083: Cannot open include file: 'dns_sd.h': No such file or directory (compiling source file ..\s rc\txt_record_get_length.cpp) [C:\ioBroker\node_modules\mdns\build\dns_sd_bindi ngs.vcxproj] c:\iobroker\node_modules\mdns\src\mdns.hpp(32): fatal error C1083: Cannot open include file: 'dns_sd.h': No such file or directory (compiling source file ..\s rc\txt_record_buffer_to_object.cpp) [C:\ioBroker\node_modules\mdns\build\dns_sd _bindings.vcxproj] gyp ERR! build error gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` fail ed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Program Files (x86)\nodejs\node_mo dules\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:191:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_proces s.js:215:12) gyp ERR! System Windows_NT 6.1.7601 gyp ERR! command "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "reb uild" gyp ERR! cwd C:\ioBroker\node_modules\mdns gyp ERR! node -v v6.9.0 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok - async@1.5.2 node_modules\iobroker.hm-rpc alt\node_modules\async npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\io broker.js2fs\node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@ 1.2.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia32" }) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_mod ules\authenticate-pam): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install: `node-gyp rebuild` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: mdns@2.4.0 (node_modules\mdns): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: mdns@2.4.0 install: `node-gyp re build` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1Die anderen laufen durch.
-
Probiere mal bitte folgendes aus (um auszuschließen, das noch irgendwo eine weitere Instanz / Admin läuft):
In der Konsole im ioBroker-Verzeichnis
iobroker stop admin.0Dann im Browser nochmal die Adminseite aufrufen.
Kommt da eine Seite, hast Du zwei Instanzen laufen.
Kommt da nix, wird es echt seltsam …
Danach natürlich noch ein
iobroker start admin.0Gruß,
Eric
Von unterwegs getippert
-
So, ich mag nicht mehr.
Hab jetzt alle instanzen für diesem komischen Adapter gelöscht.
Danach alle Verzeichnisse gelöscht.
dann cache clean ausgeführt
und zu guter letzt den laptop neu gestartet.
Und hm-rpc 2 x neu installiert (für rfd und cuxd)
Jetzt passt es.
Es wird jetzt 1.6.2. angezeigt.
mfg
-
Da war bei Deiner Installation aber ganz schön war verquere und durcheinander geraten.
Markierst Du den Thread noch bitte als gelöst?
Gruß,
Eric `
Aber, warum und wieso haben wir jetzt nicht rausgefunden.
Egal, läuft ja wieder.
-
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