Skip to content
This repository has been archived by the owner on Jul 25, 2019. It is now read-only.

Failing with zero feedback? #4

Closed
inlikealion opened this issue Jun 3, 2013 · 16 comments
Closed

Failing with zero feedback? #4

inlikealion opened this issue Jun 3, 2013 · 16 comments

Comments

@inlikealion
Copy link

I've got: node: v0.10.5, npm: 1.2.18, have installed yeoman, and npm install -g generator-h5bp. I get several WARN lines when installing that reference something like:

npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.5","npm":"1.2.18"})

When I run yo h5bp it asks if I want to install docs, then immediately returns the prompt. Is this user error (I’m fairly new to the whole Yeoman + Grunt + Bower workflow), a version incompatibility, or something else? Should the generator return any error output?

@inlikealion
Copy link
Author

I’m still stuck here, though I have upgraded node to v0.10.9.

@ekancepts
Copy link

Failed with Zero errors
+My Os : Ubuntu 13.04
+My Terminal output

 $ sudo yo h5bp
 [?] Would you like docs included? (y/N) y
 $

@franciscolourenco
Copy link

I'm having the same problem on OS X

nodejs v0.10.9
yo 1.0.0-beta.6
npm 1.2.24
generator-h5bp 0.1.2

@inlikealion
Copy link
Author

In case it’s pertinent, I’m on OS X (10.8.4) as well.

@sindresorhus
Copy link
Member

Sorry about that, looks like an async bug sneaked in affecting only some of our generator, including this one. We're on it: yeoman/generator#269

@sindresorhus
Copy link
Member

Fixed. Just reinstall the generator: npm uninstall -g generator-h5bp && npm install -g generator-h5bp

@franciscolourenco
Copy link

Thanks! Updating yo is also necessary by the way.

@inlikealion
Copy link
Author

Hmm... I’m still getting the same issue after running @sindresorhus’s reinstall command. :/ Not sure how to update yo though.

@franciscolourenco
Copy link

@inlikealion you have to run this as well: sudo npm -g update yo

@inlikealion
Copy link
Author

Thanks @aristidesfl! I had actually just settled on sudo npm uninstall -g yo && sudo npm install -g yo. Forgot this is just npm normal syntax. ಠ.ಠ

To confirm: this generator is now working for me.

@inlikealion
Copy link
Author

This seems to be happening again. Zero feedback after I choose 'y' for including H5BP Docs. Just immediately ‘Bye from us! Chat soon.…’

Any ideas? I’ve run npm update -g, uninstalled & reinstalled both yo and generator-h5bp.

@alrra
Copy link
Member

alrra commented Oct 1, 2013

@inlikealion hmm, works for me (yo v1.0.4, generator-h5bp v0.1.6).

Can you provide more details: yo and generator-h5bp versions, OS etc. ?

@inlikealion
Copy link
Author

OS X 10.8.5, yo v1.0.4, generator-h5bp v0.1.6

@alrra
Copy link
Member

alrra commented Oct 1, 2013

@inlikealion can you try: npm cache clean && npm uninstall -g generator-h5bp && npm install -g generator-h5bp ?

@inlikealion
Copy link
Author

Hmm… that plus sudo chown -R $USER /usr/local again seemed to do the trick. Don’t know if updating to Xcode 5 screwed with anything.

@oddjobsman
Copy link

@alrra @inlikealion that worked for me too. I had upgraded from 10.8 to 10.9 (Mavericks). Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants