Skip to content
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

Hubot install on OSX El Capitan #64

Closed
shigemk2 opened this issue May 2, 2016 · 11 comments

Comments

Projects
None yet
9 participants
@shigemk2
Copy link

commented May 2, 2016

I am trying to install the hubot on OSX El Capitan.

I completed this steps below.

$ npm install -g yo generator-hubot
$ mkdir hubot-example
$ cd hubot-example

I found this error when executing yo hubot.

$ yo hubot
                     _____________________________
                    /                             \
   //\              |      Extracting input for    |
  ////\    _____    |   self-replication process   |
 //////\  /_____\   \                             /
 ======= |[^_/\_]|   /----------------------------
  |   | _|___@@__|__
  +===+/  ///     \_\
   | |_\ /// HUBOT/\\
   |___/\//      /  \\
         \      /   +---+
          \____/    |   |
           | //|    +===+
            \//      |xx|

? Owner shigemk2 <xxxxxxxxxxxxxxxx>
? Bot name hubot-example
? Description A simple helpful robot for your Company
? Bot adapter (campfire) slackgot back false



/usr/local/lib/node_modules/yo/node_modules/rx/dist/rx.js:77
    throw e;
    ^
true

Please tell me the solution.

@alfee

This comment has been minimized.

Copy link

commented May 2, 2016

I faced same issue, I couldn't find a fundamental solution.
But I could success to avoid this issue; I pass all variables on command line.
e.g.

$ yo hubot --owner="your name <name@example.com>" --name="hubot-example" --description="A simple helpful robot for your Company" --adapter="slack"
@shigemk2

This comment has been minimized.

Copy link
Author

commented May 2, 2016

Me too. I avoided the error by executing this command.

$ yo hubot --owner="your name <name@example.com>" --name="hubot-example" --description="A simple helpful robot for your Company" --adapter="slack"
@LoganBarnett

This comment has been minimized.

Copy link

commented May 2, 2016

Simply providing the adapter worked around the issue for me:
yo hubot --adapter="slack"

@yokomotod

This comment has been minimized.

Copy link
Contributor

commented May 2, 2016

I found solution for this issue, but not sure why this occurred.

There're no changes around this code from long back, so it may be caused by yeoman(-generator) side change?

I'll check it and update PR description.

@yokomotod

This comment has been minimized.

Copy link
Contributor

commented May 2, 2016

I think I could find the cause of this error and added a PR comment.

@scarletsky

This comment has been minimized.

Copy link

commented May 4, 2016

I have the same issue in ubuntu server 14.04.

@richardharrington

This comment has been minimized.

Copy link
Contributor

commented May 8, 2016

Thank you for fixing this @yokomotod. While trying to investigate this in the code myself I made a couple changes to make it clearer as well (I was thrown off by the 'got back false' message, which should probably not be happening.) But I didn't fix it like you.

See my pull request

@bstockus

This comment has been minimized.

Copy link

commented May 9, 2016

I have the same issue with Windows 10, Node v5.1.0. Work around by @LoganBarnett worked though.

@mikechernev

This comment has been minimized.

Copy link

commented May 11, 2016

Apparently it's a yo issue and they had it before yeoman/yo#247
The hack from @LoganBarnett worked for me too, so thanks 😉

@technicalpickles

This comment has been minimized.

Copy link
Contributor

commented May 19, 2016

A fix for this released in generator-hubot@0.4.0. Anyone running into this should npm install -g generator-hubot to get the latest.

@shigemk2

This comment has been minimized.

Copy link
Author

commented May 20, 2016

Thanks so much!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.