Skip to content

Node-RED crashes right after node-mihome install #57

@Tazintosh

Description

@Tazintosh

Hi,

I've got node-mihome installed via node-red-contrib-miio-localdevices and right after the palette install, Node-RED crashed.
Here's the last log:

[error] Error: getsockname EBADF
    at Socket.address (node:dgram:777:11)
    at Socket.<anonymous> (/Users/tazministrator/.node-red/node_modules/node-mihome/lib/protocol-miio.js:34:36)
    at Socket.emit (node:events:531:35)
    at startListening (node:dgram:184:10)
    at node:dgram:372:7
    at processTicksAndRejections (node:internal/process/task_queues:83:21)

Line 34 of protocol-miio.js is const address = this._socket.address();

I'm usually running Node-RED without issues with this config:

Node-RED version: v4.0.2
Node.js  version: v20.13.1
Darwin 23.4.0 arm64 LE

Any idea?
Thanks a lot in advance, kind regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions