meanjs / generator-meanjs

MEAN.JS Official Yeoman Generator
http://meanjs.org/
473 stars 178 forks source link

Windows 10, Administrator PowerShell - "yo meanjs" fails #192

Open javasprict opened 8 years ago

javasprict commented 8 years ago

[Grabbed latest nodejs 4.x, installed it in c:\nodejs] [Grabbed mongodb 3.2, installed it + created c:\data\db] [Grabbed python 2.7, installed it in c:\python27] [Already have GIT bash installed, I already successfully cloned repos to try stuff around] [Run powershell as administrator, chdir to c:]

npm update -g npm npm install -g bower npm install -g grunt-cli npm install -g yo npm install -g generator-meanjs mkdir testapp cd testapp yo meanjs

Output and choices:

You're using the official MEAN.JS generator. ? What mean.js version would you like to generate?

[Selected "0.4.2" with arrow keys, ENTER. Immediately afterwards I tried again, picking "master", same outcome]

? In which folder would you like the project to be generated? This can be changed later. mean

[Not sure what this means, I just press ENTER]

Cloning the MEAN repo....... Error: Command failed: C:\WINDOWS\system32\cmd.exe /s /c "git clone --branch v0.4.2 https://github.com/meanjs/mean.git mean" fatal: Could not get current working directory: No such file or directory

ilanbiala commented 8 years ago

Are you on Windows? Can you try running the git command in quotes by itself in the command line?