Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript Building a MEAN Application Introduction to the MEAN Stack Building a MEAN App Overview

Adam Beer
Adam Beer
11,313 Points


Can anyone help me? My steps and the console responses.

  1. step : npm install -g yo
  2. step : npm install -g generator-meanjs

And it works fine until the last question : Would you like to generate the chat example module? I wrote Yes.

Console wrote to me

Running npm install for you...

This may take a couple minutes...

Maybe one minutes later give me a very big error pile :D

I was looking for the solution and found it the node-gyp

So my 3. step: npm install -g node-gyp


C:\Users\BeerQ\Desktop\Mean Stack>yo meanjs
You're using the official MEAN.JS generator.
? What mean.js version would you like to generate? 0.4.0
? In which folder would you like the project to be generated? This can be changed later. mean
Cloning the MEAN repo.......
Error: Command failed: git clone --branch v0.4.0 https://github.com/meanjs/mean.git mean
fatal: destination path 'mean' already exists and is not an empty directory.

I copied this section git clone https://github.com/meanjs/mean.git meanjs and past in to Git Bash. The Git cloning into 'meanjs' to my porject. Why? Where did the errors go? What happend? Thanks for the help!