Skip to content
This repository has been archived by the owner on Jun 4, 2023. It is now read-only.

Yosemite, airsonos wont start #171

Closed
amrinera opened this issue May 24, 2015 · 4 comments
Closed

Yosemite, airsonos wont start #171

amrinera opened this issue May 24, 2015 · 4 comments

Comments

@amrinera
Copy link

GurleenAroras-MacBook-Air:~ gurleenarora$ airsonos --verbose
Searching for Sonos devices on network...
/usr/local/lib/node_modules/airsonos/lib/main.js:30
    devices.forEach(function(device) {
           ^
TypeError: Cannot read property 'forEach' of undefined
    at /usr/local/lib/node_modules/airsonos/lib/main.js:30:12
    at /usr/local/lib/node_modules/airsonos/node_modules/sonos/lib/logicalDevice.js:105:22
    at done (/usr/local/lib/node_modules/airsonos/node_modules/sonos/node_modules/async/lib/async.js:126:15)
    at /usr/local/lib/node_modules/airsonos/node_modules/sonos/node_modules/async/lib/async.js:32:16
    at /usr/local/lib/node_modules/airsonos/node_modules/sonos/node_modules/async/lib/async.js:251:17
    at done (/usr/local/lib/node_modules/airsonos/node_modules/sonos/node_modules/async/lib/async.js:126:15)
    at /usr/local/lib/node_modules/airsonos/node_modules/sonos/node_modules/async/lib/async.js:32:16
    at /usr/local/lib/node_modules/airsonos/node_modules/sonos/node_modules/async/lib/async.js:248:21
    at /usr/local/lib/node_modules/airsonos/node_modules/sonos/node_modules/async/lib/async.js:572:34
    at /usr/local/lib/node_modules/airsonos/node_modules/sonos/lib/events/volumeListener.js:24:14

i cant figure out what the issue is. Plz help

@amrinera amrinera changed the title Mac, Yosemite, airsonos wont start Yosemite, airsonos wont start May 24, 2015
@phylaxis
Copy link

I'm now having this same issue and errors in OS X Yosemite. Let me know if you find a fix.

@davidjbradshaw
Copy link

You need to run it on Node 0.10.33, not 0.12.x

@crossie15
Copy link

I have the same problem here while running Node 0.10.33
also on 0.12.x

who is able to help?

AirSonos Diagnostics
node version v0.10.33
operating sys darwin (x64)
ip address 192.168.178.110

Searching for Sonos devices on network...

TypeError: Cannot read property 'zones' of undefined
at /usr/local/lib/node_modules/airsonos/lib/diagnostics.js:26:56
at /usr/local/lib/node_modules/airsonos/node_modules/sonos/lib/sonos.js:703:22
at Parser. (/usr/local/lib/node_modules/airsonos/node_modules/sonos/node_modules/xml2js/lib/xml2js.js:265:20)
at Parser.emit (events.js:95:17)
at Object.saxParser.onerror (/usr/local/lib/node_modules/airsonos/node_modules/sonos/node_modules/xml2js/lib/xml2js.js:109:24)
at emit (/usr/local/lib/node_modules/airsonos/node_modules/sonos/node_modules/xml2js/node_modules/sax/lib/sax.js:615:33)
at error (/usr/local/lib/node_modules/airsonos/node_modules/sonos/node_modules/xml2js/node_modules/sax/lib/sax.js:644:3)
at strictFail (/usr/local/lib/node_modules/airsonos/node_modules/sonos/node_modules/xml2js/node_modules/sax/lib/sax.js:662:22)
at Object.write (/usr/local/lib/node_modules/airsonos/node_modules/sonos/node_modules/xml2js/node_modules/sax/lib/sax.js:1335:11)
at Parser.exports.Parser.Parser.parseString (/usr/local/lib/node_modules/airsonos/node_modules/sonos/node_modules/xml2js/lib/xml2js.js:273:29)

@stephen
Copy link
Owner

stephen commented Aug 24, 2015

Issues with 0.12 are resolved in 0.2.2, @crossie15 - that looks like a separate error. Could you provide any more detail in a separate issue?

@stephen stephen closed this as completed Aug 24, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants