C
C
Const V2014-10-16 16:39:10
Bootstrap
Const V, 2014-10-16 16:39:10

How to compile LESS files from Bootstrap 3 on Mac OS X?

On a working mac, there is no admin rights to install npm, which means that grunt and any other less console compilers are closed to me. And since my work is not at all related to web development, it is impossible to require these tools to be installed. But third-party GUI programs like SimpLESS.app, less.app, and LiveReload.app have a lower version of less than the one used by bootstrap 3.
Version 3.1.0 throws an error:

ParseError: Syntax Error on line 648 in ~/.../mixins.less:648:25

In version 3.2.0 the error is:
ParseError: Syntax Error on line 216 in ~/.../type.less:216:4

Both errors are googled, but the only solution is to update the version of less, which is not possible.
Compiling with the plug-in in WEBStorm is so slow that I am completely at a loss about this, because the computer is very powerful: MacPro with two six-core xeons, 32 gigs of RAM and ssd as a system disk.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
Const V, 2014-10-17
@vconst

Here are the crutches I attached in the end, maybe someone will come in handy:
koala-app.com - GUI compiler for popular preprocessors. This program automatically compiles my less-files, quickly picks up after saving the file, quickly compiles. Unlike the LESS CSS Compiler plugin for WebStorm, bootstrap is compiled instantly. The IDE takes ten to thirty-five seconds to think - it's a shock to me, especially given the power of the computer.
livereload.com is the same GUI compiler but with an older version of less. I only use it to automatically refresh the browser page after updating the project files, I turned off the compilation itself in it.

M
Max, 2014-10-16
@AloneCoder

This is a working question - do you refuse to install the tools necessary for work ??

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question