NEWS
[gelöst] Node Upgrade
-
Vielleicht hat hier jemand einen Tip für einen Windows Nutzer. `
Siehe https://nodejs.org/download/release/v6.12.0/ (unten: -X86.msi oder -X64.msi). -
cool danke
werde ich testen nach einem Backup ^^
-
Hallo paul53,
leider geht nach einem Update (und Neustart) auf die 6.12 wie auch vorher auf die 8.9 mein Jeelink und mein RFlink Adapter nicht mehr. Bei beiden kann ich keine Serielle Schnittstelle mehr auswählen. Hast du noch einen anderen Tip?
-
Hast du mit reinstall.sh die Libraries neu kompiliert?
-
Hallo AlCalzone,
unter Windows gibt es keine reinstall.sh - alternativ auch keine reinstall.bat
-
Ohja, das hab ich überlesen. node-gyp müsste auf Windows eigentlich funktionieren, du kannst mal probieren es für die aktuelle Node-Version neu zu installieren:
npm install -g node-gyp
Danach im Ordner, in dem sich das Serialport-Modul befindet, eine Neu-Kompilierung anstoßen:
node-gyp configure node-gyp rebuild
> Ein npm install serialport macht dann zwar "etwas" lässt aber den Iobroker schon nach dem start abstürzen
Logs? -
Hallo anbei einige Screenshots. Jetzt mit Node v6.12 und rebuild
1443_2017-12-01_11_34_41-smarthub__192.168.200.27__-_remote_desktop_connection_manager_v2.7.png
1443_2017-12-01_11_36_35-iobroker.admin.png
1443_2017-12-01_11_44_46-smarthub__192.168.200.27__-_remote_desktop_connection_manager_v2.7.png
1443_2017-12-01_11_45_00-smarthub__192.168.200.27__-_remote_desktop_connection_manager_v2.7.png -
Ok dir fehlen die Build-Tools:
npm install --global --production windows-build-tools
Dann nochmal probieren.
Deine Abstürze im Log kommen daher dass das Serialport-Modul gegen die falsche Node-Version kompiliert wurde. Sollte nach erfolgreicher Neu-Kompilierung behoben sein.
-
Hallo,
ioBroker fährt nicht mehr hoch
1443_2017-12-01_11_58_09-.png -
Also der Jeelink bringt immer den Fehler das eine Modul Version nicht stimmt
! ````
2017-12-01 12:16:31.075 - [32minfo[39m: host.Smarthub instance system.adapter.vis.0 terminated while should be started once
2017-12-01 12:16:47.537 - [32minfo[39m: host.Smarthub object change system.adapter.jeelink.0
2017-12-01 12:16:47.568 - [32minfo[39m: host.Smarthub instance system.adapter.jeelink.0 started with pid 2376
2017-12-01 12:16:48.484 - [31merror[39m: Caught by controller[0]: C:\ioBroker\node_modules\iobroker.jeelink\node_modules\serialport\node_modules\bindings\bindings.js:83
! 2017-12-01 12:16:48.484 - [31merror[39m: Caught by controller[0]: throw e
! 2017-12-01 12:16:48.484 - [31merror[39m: Caught by controller[0]: ^
! 2017-12-01 12:16:48.484 - [31merror[39m: Caught by controller[0]:
! 2017-12-01 12:16:48.484 - [31merror[39m: Caught by controller[0]: Error: Module version mismatch. Expected 48, got 46.
! 2017-12-01 12:16:48.484 - [31merror[39m: Caught by controller[0]: at Error (native)
! 2017-12-01 12:16:48.484 - [31merror[39m: Caught by controller[0]: at Module.load (module.js:487:32)
! 2017-12-01 12:16:48.484 - [31merror[39m: Caught by controller[0]: at tryModuleLoad (module.js:446:12)
! 2017-12-01 12:16:48.484 - [31merror[39m: Caught by controller[0]: at Function.Module._load (module.js:438:3)
! 2017-12-01 12:16:48.484 - [31merror[39m: Caught by controller[0]: at require (internal/module.js:20:19)
! 2017-12-01 12:16:48.484 - [31merror[39m: Caught by controller[0]: at bindings (C:\ioBroker\node_modules\iobroker.jeelink\node_modules\serialport\node_modules\bindings\bindings.js:76:44)
! 2017-12-01 12:16:48.484 - [31merror[39m: Caught by controller[0]: at Object. <anonymous>(C:\ioBroker\node_modules\iobroker.jeelink\node_modules\serialport\lib\bindings.js:3:35)
! 2017-12-01 12:16:48.484 - [31merror[39m: Caught by controller[0]: at Module._compile (module.js:570:32)
! 2017-12-01 12:16:48.484 - [31merror[39m: Caught by controller[0]: at Object.Module._extensions..js (module.js:579:10)
! 2017-12-01 12:16:48.484 - [31merror[39m: Caught by controller[0]: at Module.load (module.js:487:32)
! 2017-12-01 12:16:48.484 - [31merror[39m: host.Smarthub instance system.adapter.jeelink.0 terminated with code 1 ()
2017-12-01 12:16:48.484 - [32minfo[39m: host.Smarthub Restart adapter system.adapter.jeelink.0 because enabled
2017-12-01 12:16:49.507 - [32minfo[39m: host.Smarthub instance system.adapter.jeelink.0 started with pid 3832
2017-12-01 12:16:50.324 - [31merror[39m: Caught by controller[0]: C:\ioBroker\node_modules\iobroker.jeelink\node_modules\serialport\node_modules\bindings\bindings.js:83
! 2017-12-01 12:16:50.324 - [31merror[39m: Caught by controller[0]: throw e
! 2017-12-01 12:16:50.325 - [31merror[39m: Caught by controller[0]: ^
! 2017-12-01 12:16:50.325 - [31merror[39m: Caught by controller[0]:
! 2017-12-01 12:16:50.325 - [31merror[39m: Caught by controller[0]: Error: Module version mismatch. Expected 48, got 46.
! 2017-12-01 12:16:50.325 - [31merror[39m: Caught by controller[0]: at Error (native)
! 2017-12-01 12:16:50.325 - [31merror[39m: Caught by controller[0]: at Module.load (module.js:487:32)
! 2017-12-01 12:16:50.326 - [31merror[39m: Caught by controller[0]: at tryModuleLoad (module.js:446:12)
! 2017-12-01 12:16:50.326 - [31merror[39m: Caught by controller[0]: at Function.Module._load (module.js:438:3)
! 2017-12-01 12:16:50.326 - [31merror[39m: Caught by controller[0]: at require (internal/module.js:20:19)
! 2017-12-01 12:16:50.326 - [31merror[39m: Caught by controller[0]: at bindings (C:\ioBroker\node_modules\iobroker.jeelink\node_modules\serialport\node_modules\bindings\bindings.js:76:44)
! 2017-12-01 12:16:50.326 - [31merror[39m: Caught by controller[0]: at Object. <anonymous>(C:\ioBroker\node_modules\iobroker.jeelink\node_modules\serialport\lib\bindings.js:3:35)
! 2017-12-01 12:16:50.327 - [31merror[39m: Caught by controller[0]: at Module._compile (module.js:570:32)
! 2017-12-01 12:16:50.327 - [31merror[39m: Caught by controller[0]: at Object.Module._extensions..js (module.js:579:10)
! 2017-12-01 12:16:50.327 - [31merror[39m: Caught by controller[0]: at Module.load (module.js:487:32)
! 2017-12-01 12:16:50.327 - [31merror[39m: host.Smarthub instance system.adapter.jeelink.0 terminated with code 1 ()</anonymous></anonymous>und der RF-link findet keinen Serialport. >! ```` 2017-12-01 12:16:58.153 - [32minfo[39m: host.Smarthub object change system.adapter.rflink.0 2017-12-01 12:16:58.153 - [32minfo[39m: host.Smarthub instance system.adapter.rflink.0 started with pid 5008 2017-12-01 12:17:00.412 - [32minfo[39m: rflink.0 starting. Version 1.1.6 in C:/ioBroker/node_modules/iobroker.rflink, node: v6.12.0 2017-12-01 12:17:14.778 - [32minfo[39m: host.Smarthub object change system.adapter.rflink.0 2017-12-01 12:17:14.778 - [32minfo[39m: host.Smarthub stopInstance system.adapter.rflink.0 2017-12-01 12:17:14.778 - [32minfo[39m: host.Smarthub stopInstance system.adapter.rflink.0 killing pid 5008 2017-12-01 12:17:14.840 - [31merror[39m: Caught by controller[0]: Cannot load serialport module 2017-12-01 12:17:14.840 - [31merror[39m: Caught by controller[1]: Serial port is not available 2017-12-01 12:17:14.840 - [33mwarn[39m: host.Smarthub instance system.adapter.rflink.0 terminated due to SIGTERM 2017-12-01 12:17:14.840 - [32minfo[39m: host.Smarthub instance system.adapter.rflink.0 terminated with code null () >! ````