-
Notifications
You must be signed in to change notification settings - Fork 9
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
Followed the instruction but can't run the script. Am I missing something? #1
Comments
Seems like it's trying to run the code as a bash script! Does running Your version of node is fine, same one I'm using at the moment. |
It works indeed! Thanks for the quick reply! Now I just get an error the first time I run the script and it gets published in slack : |
Hmm... unfortunately that error is coming from the code in https://github.com/bencevans/node-sonos, but I'm not sure what's causing the problem and nothing similar is reported in that project. What OS are you running, by the way? |
Oh ok. Well it's not a big deal it only happens when the script starts.. |
^ I have the same error show up every time I run the script. Was there ever any fix for this? Running Mac OS 10.11.4 Beta |
I followed the instructions and getting
./index.iced: line 3: syntax error near unexpected token '('
./index.iced: line 3: `sonos = require('sonos')'
if I try
node index.iced
I getif config.sonosIpAddress == "detect"
^^^^^^
SyntaxError: Unexpected identifier
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3
Might be due to the node version running it? 0.10.33
The text was updated successfully, but these errors were encountered: