Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'length' of undefined #3

Open
jrtaaffe opened this issue Jul 5, 2019 · 0 comments
Open

Cannot read property 'length' of undefined #3

jrtaaffe opened this issue Jul 5, 2019 · 0 comments

Comments

@jrtaaffe
Copy link

jrtaaffe commented Jul 5, 2019

I get the following error when trying to run the app:

(node:8686) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'length' of undefined
at XmlEntities.exports.XmlEntities.XmlEntities.decode (/home/pi/sonos-swagger-api/node_modules/html-entities/lib/xml-entities.js:48:15)
at NotificationListener.notificationHandler (/home/pi/sonos-swagger-api/node_modules/sonos-discovery/lib/models/Player.js:262:42)
at NotificationListener.emit (events.js:203:15)
at NotificationListener.EventEmitter.emit (domain.js:448:20)
at parseLastChange.then (/home/pi/sonos-swagger-api/node_modules/sonos-discovery/lib/NotificationListener.js:125:17)
at process._tickCallback (internal/process/next_tick.js:68:7)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant