Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Booststrap LESS source compile throws V8 Error #33

Open
theronic opened this issue Jan 22, 2015 · 3 comments
Open

Booststrap LESS source compile throws V8 Error #33

theronic opened this issue Jan 22, 2015 · 3 comments

Comments

@theronic
Copy link

Including standard Bootstrap LESS source files with bootstrap.less as a starting point, the following error is thrown by link-to-asset:

V8 error: ERROR:null:null:-1: 
undefined
TYPE: Syntax
INDEX: undefined
EXTRACT: ,,@import "variables.less";

Here is how I am including it in my view layout function:

(include-css (link-to-asset "bootstrap/less/bootstrap.less" {}))

This seems to be caused by @import. Is this supported by the LESS pipeline?

@pbiggar
Copy link
Contributor

pbiggar commented Jan 22, 2015

It might require a newer version of less than is supported by stefon by default?

@theronic
Copy link
Author

I looked at clj-v8 on clojars, but it seems like 0.1.5 is the latest version. Probably the wrong place.

Then I looked at the LESS vendor scripts in stefon/stefon-core/resources/vendor/. There is LESS Rhino versions 1.2.1 and 1.3.3. Bootstrap 2 and up requires 1.3+. How can I tell which version is being used by Stefon?

@pbiggar
Copy link
Contributor

pbiggar commented Jan 26, 2015

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

No branches or pull requests

2 participants