Run *sudo npm install -g less* to install it globally and with proper
permissions. Should resolve your error, Anand.

On Fri, Feb 10, 2012 at 11:21 PM, Anand Anjaria
<[email protected]>wrote:

> i was trying compiling bootstrap.less but got error in progress-bar.less
> (i haven't done any change in that file).
>
> Tried using less compiler from terminal as instructed but in that also I
> am getting error.
> -- I installed less via npm
> -- When i am trying to run less bootstrap.less > bootstrap.css , i am
> getting -bash: lessc: command not found
>
> i want to do quite a few change in variables.less to change all colors and
> all and this not compiling is driving me crazy now :(
>
> --
> Anand Anjaria
> Sent with Sparrow <http://www.sparrowmailapp.com/?sig>
>
> On Saturday, February 11, 2012 at 2:53 PM, Sam Sherlock wrote:
>
> if you are using responsive you compile both the boostrap.less (uses the
> other sheets not responsive one) and the responsive.less (media q's in here
> it use variables mixins too from memory) sheet
>
> not in front of the code right now so the responsive name might be
> slightly different (it will have media queries)
>
> but otherwise its just the bootstrap.less in sources the other less sheets
> you can check your output again the twitter.github.com/bootstrap/examples/can 
> look at the css in the files there
>
> from this you should be able to see whats working.
>
> thats assuming the error you get is due to compiling indivual sheets and
> not because the method of compiling is not working completely
> if you goto lesscss.org you can get a simple sample of less t compile
> proove that less is working for the method your using.
>
> node/npm though taxing to setup is the best method (for me lessphp is on
> par, I have php 5.3.3 on windows and ubuntu 5.3.10 forget actually I could
> not find a requirement listing sure I used it fine with 5.2.x but a later
> version)
> simpLess as yet not tried but will be - have seen reports of issues from
> others (so can't be specific on use of this nor be certain of it being
> problem free) - see https://github.com/twitter/bootstrap/issues/630closed and 
> reopenned
>
> what method are you using to compile? what error are you getting?
>
>  - S
>
>
>
>
> On 11 February 2012 05:43, Anand Anjaria <[email protected]>wrote:
>
> Hi Sam,
>
> Thanks for your input. I'll take your suggestion and compile LESS first
> and then upload onto server instead of using less.js
>
> But when I am compiling all LESS files locally, i am getting compilation
> error. Am i making any mistake? or Do i have to compile selected files only?
>
> Cheers,
> Anand
>
> --
> Anand Anjaria
> Sent with Sparrow <http://www.sparrowmailapp.com/?sig>
>
> On Friday, February 10, 2012 at 9:12 AM, Sam Sherlock wrote:
>
> Clientside less.js is for testing purposes (I would'nt use it in
> production as it requires uses to enable js to get styled pages)
>
> less.js takes the less source and creates a style element with the css
> within (nodejs puts this output to a file)
> you could use firebug (other such inspector) and copy the output of style
> tag and put that in a file
>
> if you use the less.js clientside I had troubles getting it to work and
> read a comment in issues
> stating that 1.1.6 version of less.js worked with bootstrap - I was unable
> to prcess bootstrap.less with the versions
> I used but could process a test file (i did not pin down why and it may be
> something I missed)
>
> also I saw this mentioned yesterday (its available for every platform) and
> it looks cool
> http://wearekiss.com/simpless
>
> and also lessphp is a option too the current master works fine with
> bootstrap (it has for a while)
>
>  - S
>
>
>
>
> On 9 February 2012 23:16, Anand Anjaria <[email protected]> wrote:
>
>  Hi,
>
> I am totally a newbie and want to use LESS on my website.
>
> I understand from the website I have to include bootstrap.less first and
> then less.js in HEAD section.
>
> But do I have to include other less files as well along with
> bootstrap.less in the head section (for eg. variables.less)?
>
> or i have to save other less files also in the same folder so that when
> bootstrap.less is getting compiled, it'll refer other dependent less files?
>
> --
> Anand Anjaria
> Sent with Sparrow <http://www.sparrowmailapp.com/?sig>
>
>
>
>
>
>


-- 
kthxbai!

Email: [email protected]
Twitter: @mdo
Mobile: (414) 534-5987

Reply via email to