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

cygwin is not supported by node, but yeoman website recommends using it on windows #186

Closed
sam-github opened this issue Aug 13, 2014 · 5 comments

Comments

@sam-github
Copy link

A customer of ours just came to us asking why our generator doesn't work on cygwin... we wondered why they were using cygwin, and we found:

http://yeoman.io/codelab/setup.html

That's not good advice, node doesn't work well on cygwin, and the terminal support required by yo is particularly broken. See comments in this thread:

nodejs/node-v0.x-archive#5618

@SBoudrias
Copy link
Member

Please open issue on yeoman/yeoman.io - even better, send a PR suggesting PowerShell instead.

@kevva
Copy link
Member

kevva commented Aug 13, 2014

Or git bash.

@eddiemonge
Copy link
Member

or OSX or *nix

@sindresorhus
Copy link
Member

We should just add this to yo :p

var open = require('opn');

if (process.platform === 'win32') {
  open('http://www.ubuntu.com/download/desktop');
  process.exit();
}

@SBoudrias
Copy link
Member

Here comes the OS trolls!

Ok removed the line on the codelab. We'll need to rebuild in a few to update it on the live website.

Finally decided to go with cmd.exe - it sucks, but it's mostly the default on Windows. Powershell is installed by default too and way better, but the default 80' blue theme is so bad it would scare people away. (I should write an article at some point on how to set up slicker terminal on windows)

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

No branches or pull requests

5 participants