Closed m-s-b closed 1 year ago
bei mir auch. Gleicher Fehler
auch leider das selbe Problem
hier ebenfalls
km200.0 | 2023-06-15 11:02:23.268 | warn | Terminated (ADAPTER_REQUESTED_TERMINATION): km200 Initialization Error:TypeError: Cannot read properties of undefined (reading '_subscribeForeignStates') at subscribeStates (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:7367:21) at /opt/iobroker/node_modules/@frankjoke/myadapter/myAdapter.js:830:111 at new Promise (<anonymous>) at /opt/iobroker/node_modules/@frankjoke/myadapter/myAdapter.js:830:20 at /opt/iobroker/node_modules/@frankjoke/myadapter/myAdapter.js:311:77
km200.0 | 2023-06-15 11:02:22.369 | info | km200.0 address: http://192.168.0.50
km200.0 | 2023-06-15 11:02:22.367 | warn | Adapter will exit in latest 1 sec with code km200 Initialization Error:TypeError: Cannot read properties of undefined (reading '_subscribeForeignStates') at subscribeStates (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:7367:21) at /opt/iobroker/node_modules/@frankjoke/myadapter/myAdapter.js:830:111 at new Promise (<anonymous>) at /opt/iobroker/node_modules/@frankjoke/myadapter/myAdapter.js:830:20 at /opt/iobroker/node_modules/@frankjoke/myadapter/myAdapter.js:311:77!
km200.0 | 2023-06-15 11:02:22.366 | info | Adapter disconnected and stopped with dostop(km200 Initialization Error:TypeError: Cannot read properties of undefined (reading '_subscribeForeignStates') at subscribeStates (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:7367:21) at /opt/iobroker/node_modules/@frankjoke/myadapter/myAdapter.js:830:111 at new Promise (<anonymous>) at /opt/iobroker/node_modules/@frankjoke/myadapter/myAdapter.js:830:20 at /opt/iobroker/node_modules/@frankjoke/myadapter/myAdapter.js:311:77) and callback(false)
km200.0 | 2023-06-15 11:02:22.365 | error | km200 Initialization Error:TypeError: Cannot read properties of undefined (reading '_subscribeForeignStates') at subscribeStates (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:7367:21) at /opt/iobroker/node_modules/@frankjoke/myadapter/myAdapter.js:830:111 at new Promise (<anonymous>) at /opt/iobroker/node_modules/@frankjoke/myadapter/myAdapter.js:830:20 at /opt/iobroker/node_modules/@frankjoke/myadapter/myAdapter.js:311:77
km200.0 | 2023-06-15 11:02:22.267 | info | starting. Version 2.0.3 in /opt/iobroker/node_modules/iobroker.km200, node: v18.16.0, js-controller: 5.0.3
Wer nicht auf ein Fix warten kann/will, der ems-esp Adapter (https://github.com/tp1de/ioBroker.ems-esp) kann auch km200
km200 Initialization Error:TypeError: Cannot read properties of undefined (reading '_subscribeForeignStates') at subscribeStates (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:7375:21) at /opt/iobroker/node_modules/@frankjoke/myadapter/myAdapter.js:830:111 at new Promise (
Auch bei mir der Fehler ;)
I have this problem as well 😟 js-controller 5.0.5
km200 Initialization Error:TypeError: Cannot read properties of undefined (reading '_subscribeForeignStates') at subscribeStates (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:7375:21) at /opt/iobroker/node_modules/@frankjoke/myadapter/myAdapter.js:830:111 at new Promise (<anonymous>) at /opt/iobroker/node_modules/@frankjoke/myadapter/myAdapter.js:830:20 at /opt/iobroker/node_modules/@frankjoke/myadapter/myAdapter.js:311:77
Wer nicht auf ein Fix warten kann/will, der ems-esp Adapter (https://github.com/tp1de/ioBroker.ems-esp) kann auch km200
oder zurück auf den alten js-controller 4.0.24 gehen:
/opt/iobroker
) wechseln, denn aus dem home Verzeichnis funktioniert es natürlich nicht!npm install iobroker.js-controller@4.0.24
Nach dem Update auf js-controller 5.0.2 bricht der Start des Adapters ab:
km200 Initialization Error:TypeError: Cannot read properties of undefined (reading '_subscribeForeignStates') at subscribeStates (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:7382:21) at /opt/iobroker/node_modules/@frankjoke/myadapter/myAdapter.js:830:111 at new Promise (<anonymous>) at /opt/iobroker/node_modules/@frankjoke/myadapter/myAdapter.js:830:20 at /opt/iobroker/node_modules/@frankjoke/myadapter/myAdapter.js:311:77