Arun P Johny
Arun P Johny

Reputation: 388316

How to build Twitter Bootstrap

I'm trying to build Bootstrap from source. It is throwing the following error while I'm trying to run the make command.

Running JSHint on javascript...             â Done
/bin/sh: 1: recess: not found
make: *** [build] Error 127

This is what I've done so far

  1. Clone the bootstrap repository git clone git://github.com/twitter/bootstrap.git
  2. Install npm apt-get intall npm
  3. Install less npm install -g less
  4. Install jshint npm install -g jshint
  5. Install make apt-get install make

What am I missing here?

Upvotes: 6

Views: 2820

Answers (1)

Marcin Skórzewski
Marcin Skórzewski

Reputation: 2854

You are missing recess, wrapper for less keeping CSS code clean due to the Twitter's code guide.

Just follow the instruction in the README.md file from the Bootstrap sources. See "Developers" section (same info also in official Bootstrap site):

npm install recess connect uglify-js jshint -g

Upvotes: 5

Related Questions