Open ghost opened 11 years ago
try setting line 184 to this, an of course delete the bot.listen that's already there. if you go here: https://github.com/samuri51/chillybot/blob/master/chillybot.js and look at the line numbers you'll see what i mean.
bot.listen(process.env.PORT, process.env.IP); //needed if running on a server
if that doesn't work i know appfog.com works with the script as - is. sorry never tried to upload to cloud 9 before
and make sure it runs on your computer first. the instruction page tells how to do that. let me know if this worked for you...
It worked..then it didn't...it said that it lost connection with turntable.fm...then comes back
I tried it on node.js....said that the there was an error saying that it won't join room due to Type Error: Cannot properly read "name" of undefined
Keep getting this error
Cloud9 Error: you may be using the wrong PORT & HOST for your server app
Node: use 'process.env.PORT' as the port and 'process.env.IP' as the host in your scripts. See also https://c9.io/site/blog/2013/05/can-i-use-cloud9-to-do-x/
Error: listen EACCES
at errnoException (net.js:769:11)
at Server._listen2 (net.js:892:19)
at listen (net.js:936:10)
at Server.listen (net.js:993:9)
at dns.js:71:18
at process.startup.processNextTick.process._tickCallback (node.js:244:9)