-
Notifications
You must be signed in to change notification settings - Fork 65
yo jekyllrb
not working
#142
Comments
I can see the same behavior :( |
I'm having the same issues (or at least similar issues) in using yo jekyllrb to initialize a directory. I'm setting up a new machine and trying to get this generator to work but am getting similar errors thrown by "rx.js". I've tried this with various combinations of Ruby versions and Node versions by using rvm and nvm. I've tried Ruby versions 2.1.4 and 2.2.0. I've tried npm versions 0.10.36 and 0.12.0. In all cases I'm getting the following error. Unfortunately in reading these errors I'm confused about where the problem might be.
Here's a look at the environment that created this error message above.
Any suggestions? |
Ok, upon more investigation, I've noticed I get the above error "Cannot read property 'name' of undefined" only when I don't pick one of the 2 template options. If I leave it to pick the default for me, this error occurs. This makes me think the error I had and the ones mentioned earlier here are not the same error. |
I've got the same error, but I didn't installed a Jekyll in my environment. I just ran |
I've tried uninstalling my global jekyll with I then installed again while in the directory I was trying to build into using |
This issue appears to be solved with baf6f23, however this fix hasn't been published to npm, yet. Hence installing with |
I install generator-jekyllrb, run
yo jekyllrb
and I got this error. I think it got a bug in it./usr/local/lib/node_modules/yo/node_modules/inquirer/node_modules/rx/dist/rx.js:4586 throw e; ^ TypeError: undefined is not a function at Generator.run (/usr/local/lib/node_modules/generator-jekyllrb/node_modules/yeoman-generator/lib/base.js:444:21) at Environment.run (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/lib/environment.js:330:20) at module.exports (/usr/local/lib/node_modules/yo/lib/routes/run.js:20:11) at Router.navigate (/usr/local/lib/node_modules/yo/lib/router.js:36:30) at PromptUI.completed (/usr/local/lib/node_modules/yo/lib/routes/home.js:76:20) at PromptUI.onCompletion (/usr/local/lib/node_modules/yo/node_modules/inquirer/lib/ui/prompt.js:69:10) at AnonymousObserver.Rx.AnonymousObserver.AnonymousObserver.completed (/usr/local/lib/node_modules/yo/node_modules/inquirer/node_modules/rx/dist/rx.js:1929:12) at AnonymousObserver.Rx.internals.AbstractObserver.AbstractObserver.onCompleted (/usr/local/lib/node_modules/yo/node_modules/inquirer/node_modules/rx/dist/rx.js:1866:14) at AutoDetachObserverPrototype.completed (/usr/local/lib/node_modules/yo/node_modules/inquirer/node_modules/rx/dist/rx.js:4604:23) at AutoDetachObserver.Rx.internals.AbstractObserver.AbstractObserver.onCompleted (/usr/local/lib/node_modules/yo/node_modules/inquirer/node_modules/rx/dist/rx.js:1866:14)
The text was updated successfully, but these errors were encountered: