yeoman / generator-bootstrap

Yeoman generator for Bootstrap
http://yeoman.io
186 stars 40 forks source link

yo bootstrap fails #18

Closed pschulz closed 11 years ago

pschulz commented 11 years ago

Hi,

I'm on Win XP and everything installed so far. But when I try to scaffold a bootstrap app I get this:

E:\Temp\bowertest>yo bootstrap
[?] In what format would you like the Twitter Bootstrap stylesheets? (css/sass/less) less
bower cloning git://github.com/twitter/bootstrap.git

C:\Dokumente und Einstellungen\pschulz\Anwendungsdaten\npm\node_modules\bower\node_modules\tmp\lib\tmp.js:260
  throw err;
        ^
Error: spawn ENOENT
    at errnoException (child_process.js:980:11)
    at Process.ChildProcess._handle.onexit (child_process.js:771:34)

E:\Temp\bowertest>whereis git
Found at C:\Programme\Git\cmd\git.cmd

E:\Projects\Gunther\Webapp>git version
git version 1.7.9.msysgit.0

I already know, that this is either a problem of bowser or a local problem. But since git is in my system PATH environment the git command is there.

Any idea?

Could you push that to bower?

pschulz commented 11 years ago

Ha, got it fixed - it seemed to be an issue with msysgit. I installed the

E:\Temp\bowertest>git version
git version 1.8.3.msysgit.0

E:\Temp\bowertest>whereis git
Found at C:\Programme\Git\cmd\git.exe
Found at C:\Programme\Git\cmd\git.cmd

As you can see, it added an git.exe to the system where it was just a git.cmd before. May be it is a general issue of node.js, but since they wrap a spawn on Win32 with cmd it would by a Windows problem again.

Anyways - it works like a charme with the latest MsysGit!