yo icon indicating copy to clipboard operation
yo copied to clipboard

Offline story

Open SBoudrias opened this issue 10 years ago • 6 comments

Yesterday I've been to a local JS meetup, and one of the presenter used Yeoman for its demo. Unfortunatly, until he was connected to the wifi, yo was throwing. Cannot remember exactly, but I think it was related to update-notifier or insight. The presenter may have been using and old version, but I'd like for us to validate being offline won't hardly break basic generation actions.

SBoudrias avatar Feb 12 '14 17:02 SBoudrias

They're designed to have no impact on the code using them. They're actually run in a forked unrefed Node process so not to interfere. However if they do, that's certainly a bug.

sindresorhus avatar Feb 12 '14 18:02 sindresorhus

Would someone be interested in taking on a general set of tasks around improving our offline story? I've run into issues with our support not being fantastic where a wifi connection isn't there, but it's generally around other tooling we rely on (bower, npm).

I'd be interested in whether insight or notifier were actually causing an impact in this case.

addyosmani avatar May 10 '14 12:05 addyosmani

  • [ ] Test Yeoman + official generators without an internet connection
  • [ ] Find out what is breaking
  • [ ] Fix

eddiemonge avatar May 12 '14 15:05 eddiemonge

I have tested the following generators and they're running fine even when offline:

  • [x] generator-node
  • [x] generator-webapp
  • [x] generator-ember
  • [x] generator-angular

They were all tested with latest code from master.

ruyadorno avatar Oct 18 '14 15:10 ruyadorno

:+1:

addyosmani avatar Oct 18 '14 18:10 addyosmani