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
Can't start hubot on debian #132
Comments
Yo, Can you grab the download from hubot.github.com? You're not supposed to clone the project, it's just a library. |
This was with hubot-1.1.9.tar.gz. |
Nuke your |
Just deleting node_modules and running bin/hubot gets me:
Line 6 of bin/hubot is of course The only way I know to create the node_modules dir (and maybe this is wrong, this is the first time I've really done anything with node) is
Then
|
Just wanted to deploy the bot on my debian/wheezy and run in the exact same problem. I checked out some older versions, but they don't work either. I have the exact same stacktrace and error. And I think I found out why: The problem really is in the optparse module at the location given in the stacktrace. There is a regex which is called as function. Now on my mac, |
Okay just found out how to fix it: https://github.com/jfd/optparse-js contains a recent commit which fixes that behaviour. Just replace the |
Which commit? Can you bug them to release a new version with the bugfixes? |
It's jfd/optparse-js@c5abef2 — Well I can open an issue that a new version should be released… |
It looks like optparse 1.0.3 has been released, I tried updating the value in package.json, but it looks like that doesn't fix it because the hubot package that gets pulled in still has a dependency on optparse 1.0.1 somewhere. |
I'm following the README, so I run 'npm install' and that completes successfully, then I run 'bin/hubot' and get an error:
Some google searching reveals that 'npm bundle' will create that, so I run it and it completes successfully. Then I run 'bin/hubot' again and get:
The text was updated successfully, but these errors were encountered: