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

Homebridge crashing #22

Open
sifield opened this issue Feb 17, 2017 · 3 comments
Open

Homebridge crashing #22

sifield opened this issue Feb 17, 2017 · 3 comments

Comments

@sifield
Copy link

sifield commented Feb 17, 2017

Hi, This is causing homebridge to crash, any thoughts why, here are the errors:

[2/17/2017, 5:44:40 PM] Homebridge is running on port 51826.
/usr/local/lib/node_modules/homebridge-itunes/node_modules/applescript/lib/applescript-parser.js:115
var rtn = this.value.substring(this.index, end-1);
^

TypeError: this.value.substring is not a function
at Object.exports.UndefinedParser (/usr/local/lib/node_modules/homebridge-itunes/node_modules/applescript/lib/applescript-parser.js:115:24)
at Object.parseFromFirstRemaining (/usr/local/lib/node_modules/homebridge-itunes/node_modules/applescript/lib/applescript-parser.js:44:34)
at Object.exports.parse (/usr/local/lib/node_modules/homebridge-itunes/node_modules/applescript/lib/applescript-parser.js:10:37)
at ITunesPlatform. (/usr/local/lib/node_modules/homebridge-itunes/index.js:443:31)
at ChildProcess. (/usr/local/lib/node_modules/homebridge-itunes/node_modules/node-osascript/lib/index.js:49:7)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:827:16)
at Socket. (internal/child_process.js:319:11)
at emitOne (events.js:77:13)

thanks

@SphtKr
Copy link
Owner

SphtKr commented Apr 9, 2017

I've just published 0.2.0-alpha0, which I hope may fix your issue. Can you try it:

npm install -g homebridge-itunes@latest

And let me know if it helps, please? Thanks!

@SphtKr
Copy link
Owner

SphtKr commented Apr 9, 2017

Whoops...and see the important upgrade notice!

@SphtKr
Copy link
Owner

SphtKr commented Apr 18, 2017

Likewise, 0.2.0-alpha1 is now out, and it makes the mentioned upgrade notice unnecessary.

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