-
-
Notifications
You must be signed in to change notification settings - Fork 79k
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
Bootstrap.less compile error #2516
Comments
Assuming that you are using the |
Thanks for the info. Do you happen to know of a way that I can compile it so I can have a .css file on the server. I was using http://crunchapp.net/ before, but now now get the compile error. |
+1 |
Thanks Barry, but we're after a way to compile less and serve css form the server. |
When you scroll down, there is a server-side usage and a command line usage Command-line usage |
Or something like http://wearekiss.com/simpless and replace the Rescources/js/less.js with the 1.3.0 version (don't know if that works) |
Thanks Barry, appreciate you digging a bit deeper! I'll give it a go... |
Sounds resolved. 2.0.2-wip does require LESS 1.3. |
@markdotto I have just tested this with a fresh install of Less ( I still get:
I am also running into some issues where Less is not compiling my Bootstrap in-a-sub-folder My current folder setup is:
When compiling (Less 1.2.1 through CodeKit) it throws the following warning:
This error, I think relates to less/less.js#592 However: when I move my project .less file into the bootstrap/less/ folder I get a different error: NOTE: compiling through lessc (1.2.1 AND 1.3.0) gives the same error. |
For me, i've the same error until i've updated LESS to 1.3.0. Now I have no error. |
Same error: lessc ./less/bootstrap.less > ./docs/assets/css/bootstrap.css Using bootstrap and less.js master branches downloaded 2012 03 13, 2:45 pm EST |
Same issues here, using Codekit |
CodeKit seems to use LESS v1.2.*.. Try to update LESS manually on /CodeKit.app/Contents/Resources/engines/less. Works for me. |
Thanks netatoo, works now. |
Guys @bdkjones will update CodeKit very soon (this week?) with the new Less 1.3.0: see bdkjones/CodeKit#255 (comment) |
I was having the same problem. I've updated LESS to 1.3.0 and now it is working fine. Thanks. |
Can we please reopen this issue? It still persists. Here’s the steps to repro it: $ git clone git://github.com/twitter/bootstrap.git
…
$ lessc --version
lessc 1.3.0 (LESS Compiler) [Ruby] 2.2.2
$ cd bootstrap/less/
$ lessc bootstrap.less
at less.Parser.parser.parse.i (/usr/local/Cellar/ruby/1.9.3-p374/lib/ruby/gems/1.9.1/gems/less-2.2.2/lib/less/js/lib/less/parser.js:385:31):
#grid > .core is undefined (Less::ParseError) … and using the provided $ make bootstrap-css
mkdir -p bootstrap/css
./node_modules/.bin/recess --compile ./less/bootstrap.less > bootstrap/css/bootstrap.css
/bin/sh: ./node_modules/.bin/recess: No such file or directory
make: *** [bootstrap/css/*.css] Error 127 – not surprising, since (Incidentally, manually invoking |
@cvrebert Ah thanks. Now I’m puzzled that the Ruby gem |
This issue still persists. I started work on an old project today and I'm setting up a Grunt workflow.
All the versions of Less I've tried produce variations on the same error:
Any help/advice would be greatly appreciated, thanks. |
@matt-bailey Bootstrap v2 has not been officially supported for a while. Please ask on StackOverflow instead. |
Get this when compiling bootstrap.less:
syntax Error on line 488
Filename: /less/mixins.less
Line 488: (~".span@{index}") { .span(@index); }
The text was updated successfully, but these errors were encountered: