0

I'm getting this error when trying to compile (lessc bootswatch.less > bootstrap.css) a clean install of Bootswatch:

[...] error evaluating function fadein: Object # has no method 'toHSL' (Less::Parse Error).

It was working last week..

Siguza
  • 21,155
  • 6
  • 52
  • 89

1 Answers1

0

See also less undefined method error.

The bootswatch file should be compiled with Bootstrap together. So create a index.less file, which contains the following code:

@import "bootstrap.less"; //from the Bootstrap source code
@import "variables.less"; //from your bootswatch theme
@import "bootswatch.less";

And than compile that file: lessc index.less > bootstrap.css

Community
  • 1
  • 1
Bass Jobsen
  • 48,736
  • 16
  • 143
  • 224