julianh2o / RokuAlexaLambdaSkill

An Alexa Skill that allows voice control of your Roku
MIT License
104 stars 55 forks source link

Get an error running server.js #1

Closed mew0717 closed 9 years ago

mew0717 commented 9 years ago

Trying to run via terminal this on my mac mini:

Here's the error message. Any idea?

var ssdp = new Client(); ^ TypeError: undefined is not a function at Object. (/Users/mew0717/Echo/RokuSkill/server.js:11:12) at Module._compile (module.js:460:26) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Function.Module.runMain (module.js:501:10) at startup (node.js:129:16) at node.js:814:3

julianh2o commented 9 years ago

Hmm, you may need to run: npm install node-ssdp

On Thu, Aug 13, 2015, 7:39 PM mew0717 notifications@github.com wrote:

Trying to run via terminal this on my mac mini:

Here's the error message. Any idea?

var ssdp = new Client(); ^ TypeError: undefined is not a function at Object. (/Users/mew0717/Echo/RokuSkill/server.js:11:12) at Module._compile (module.js:460:26) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Function.Module.runMain (module.js:501:10) at startup (node.js:129:16) at node.js:814:3

— Reply to this email directly or view it on GitHub https://github.com/julianh2o/RokuAlexaLambdaSkill/issues/1.

mew0717 commented 9 years ago

Nope... that didn't do it. All I get when i run that is: npm WARN package.json RokuControlServer@0.0.1 'repositories' (plural) Not supported. Please pick one as the 'repository' field npm WARN package.json RokuControlServer@0.0.1 No README data npm WARN package.json RokuControlServer@0.0.1 No license field.

julianh2o commented 9 years ago

Oops, I've just pushed a revision to fix this. The package.json file had the wrong version of node-ssdp listed!

Thanks for the report and best of luck getting this running!