Skip to content

Instantly share code, notes, and snippets.

@dprea
Created January 11, 2016 09:07
Show Gist options
  • Save dprea/db6b109788ee3f8d46aa to your computer and use it in GitHub Desktop.
Save dprea/db6b109788ee3f8d46aa to your computer and use it in GitHub Desktop.
New Mean Stack (At least Cloud 9)

#INSTALLING MEAN STACK

  1. sudo apt-get update -qq
  2. sudo apt-get install gcc make build-essential
  3. npm rebuild
  4. npm install -g bower
  5. npm install -g node-sass
  6. npm install -g autoprefixer
  7. npm install -g gulp
  8. npm install -g gulp-sass
  9. npm install -g gulp-autoprefixer
  10. npm install

INFO ABOUT THE C++ BSON ERROR:

I guess you did not have the make tools available when you installed your mongodb library. I suggest you do

xcode-select --install (on a mac) or sudo apt-get install gcc make build-essential (on ubuntu)

and run

rm -rf node_modules npm cache clean npm install OR just npm update based on @tobias comment (after installing build-essential)

npm update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment