Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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

Adam Beer
Adam Beer
11,314 Points

Mystery

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

Now

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
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!