Closed hsteinme closed 2 months ago
same problem here Cannot create webserver: TypeError: Cannot read properties of undefined (reading 'createServerAsync')
I got exactly the same issue 2 days ago.
the Log says:
Adapter Version 2.7.2
Node.js Version 20.13.1
NPM Version 10.8.0
Same with me:
simple-api.0 | 2024-05-22 21:09:55.138 | error | Cannot create webserver: TypeError: Cannot read properties of undefined (reading 'createServerAsync') -- | -- | -- | --same here. The weird thing is that i have 2 iobroker installations. my older, bigger one does not have the issue(running on an AMD CPU in a Proxmox environment) A new, fresh iobroker instance DOES have the Issue. It is much smaller with less adapters and connections and is running on a raspberry pi 3.
I tried another RESTAPI adapter (https://github.com/ioBroker/ioBroker.rest-api?files=1). Same result, same error. Issue seems to have the root cause somewhere else...?
I tried another RESTAPI adapter (https://github.com/ioBroker/ioBroker.rest-api?files=1). Same result, same error. Issue seems to have the root cause somewhere else...?
Developer of REST API Adapter just published a Beta (2.0.1). Available via NPM. I just tested this and back in Business…
fixed with 2.8.0
Just tested: Fix is successfull. Thank you!
Instance stops directly after start with log entry "Cannot create webserver: TypeError: Cannot read properties of undefined (reading 'createServerAsync')"
Log says:
Adapter version 2.6.2