Skip to content

Cannot read properties of undefined (reading 'forEach') #500

@rcoletti116

Description

@rcoletti116

I get this error on startup. I don't think it's affecting anything I use, but I wanted to share it in case it affects anyone else and needs to be addressed.

TypeError: Cannot read properties of undefined (reading 'forEach')
    at HAPNodeJSClient._reconnectServer (/usr/local/lib/node_modules/homebridge-alexa/node_modules/hap-node-client/HAPNodeJSClient.js:332:39)
    at EventEmitter.emit (node:events:390:28)
    at Socket.<anonymous> (/usr/local/lib/node_modules/homebridge-alexa/node_modules/hap-node-client/lib/eventedHttpClient.js:90:24)
    at Socket.emit (node:events:402:35)
    at endReadableNT (node:internal/streams/readable:1343:12)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)

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