meanjs / generator-meanjs

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

Couldn't install Mean.Js app using Yo generator #278

Open graphpixel opened 7 years ago

graphpixel commented 7 years ago

kaiss@GraphPixel-Executive:/var/www/app$ yo meanjs You're using the official MEAN.JS generator. ? What mean.js version would you like to generate? 0.4.0 0.4.0 ? In which folder would you like the project to be generated? This can be changed later. . Cloning the MEAN repo....... Error: Command failed: git clone --branch v0.4.0 https://github.com/meanjs/mean.git . Cloning into '.'... /var/www/app/.git: Permission denied

Versions: Node.JS: v6.11.0 NPM: v3.10.10

SpiesInOrbit commented 7 years ago

Looks like a file permission issue. Do you have write access to "/var/www/app"? Try a simple create with touch. app $ touch testfile.txt

if you get "touch: cannot touch ‘textfile.txt’: Permission denied" its definitely a permission issue

lirantal commented 7 years ago

due to high maintenance required on the generator we don't officially maintain it anymore. I suggest cloning the official mean.js repo's master branch and starting from that point.