Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues running Makefile for Bootstrap #1642

Closed
martinbean opened this issue Feb 3, 2012 · 7 comments
Closed

Issues running Makefile for Bootstrap #1642

martinbean opened this issue Feb 3, 2012 · 7 comments

Comments

@martinbean
Copy link
Contributor

I'm having troubles running the Makefile for Bootstrap. When I do so, I get the following output:

rm docs/assets/bootstrap.zip
zip -r docs/assets/bootstrap.zip bootstrap
  adding: bootstrap/ (stored 0%)
  adding: bootstrap/css/ (stored 0%)
  adding: bootstrap/css/bootstrap.css (stored 0%)
  adding: bootstrap/img/ (stored 0%)
  adding: bootstrap/img/glyphicons-halflings-white.png (deflated 4%)
  adding: bootstrap/img/glyphicons-halflings.png (deflated 4%)
  adding: bootstrap/js/ (stored 0%)
rm -r bootstrap
lessc ./less/bootstrap.less > ./docs/assets/css/bootstrap.css
/bin/sh: lessc: command not found
make: *** [docs] Error 127

However, if in Terminal I just type lessc I get a line saying, lessc: no input files.

Why when trying to run lessc as part of Bootstrap's Makefile is it falling over?

@fat
Copy link
Member

fat commented Feb 3, 2012

how did you install less? You should do npm install lessc -g This should definitely get that line working.

also you could try lessc ./less/bootstrap.less > ./docs/assets/css/bootstrap.css

@fat fat closed this as completed Feb 3, 2012
@martinbean
Copy link
Contributor Author

I get the following output when trying to run npm install lessc -g:

Screen-shot

@col
Copy link

col commented Feb 6, 2012

Try running this instead.

npm install less -g

I also needed to install uglifyjs.

npm install uglify-js -g

Hope that helps.

@martinbean
Copy link
Contributor Author

It seems to have worked; no errors when I run make. Thanks, @col!

@hisnameisjimmy
Copy link

Just wanted to note this is still working as a solution. Thanks @col

@Tyguy7
Copy link

Tyguy7 commented Feb 9, 2013

I've installed recess, less, lessc, uglify, node.js all properly with no errors, as sudo.

I still get: /bin/sh: ./node_modules/.bin/recess: not found

@cvrebert
Copy link
Collaborator

cvrebert commented Feb 9, 2013

@Tyguy7: You want #6561; #6576 probably fixes it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants