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 'updateValue' of undefined #30

Open
martinorob opened this issue Apr 13, 2017 · 2 comments
Open

Cannot read property 'updateValue' of undefined #30

martinorob opened this issue Apr 13, 2017 · 2 comments

Comments

@martinorob
Copy link

/usr/local/lib/node_modules/homebridge-itunes/index.js:557
.updateValue(rtn[1]);
^

TypeError: Cannot read property 'updateValue' of undefined
at ITunesPlatform. (/usr/local/lib/node_modules/homebridge-itunes/index.js:557:7)
at /usr/local/lib/node_modules/homebridge-itunes/index.js:60:33
at ChildProcess. (/usr/local/lib/node_modules/homebridge-itunes/node_modules/node-osascript/lib/index.js:49:7)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:877:16)
at Socket. (internal/child_process.js:334:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:498:12)

@SphtKr
Copy link
Owner

SphtKr commented Apr 18, 2017

I've just published 0.2.0-alpha1, which should fix your issue. You could also fix it by manually removing ~/.homebridge/accessories/cachedAccessories, but updating to alpha1 is the best solution. Can you try this and let me know if it resolves the problem?

@martinorob
Copy link
Author

0.2.0-alpha1 working but sometimes give that error.. (and then I have to delete chacedaccessories file..)

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

2 participants