Skip to content
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

LessException with example code #49

Open
frangarcia opened this issue Feb 18, 2014 · 2 comments
Open

LessException with example code #49

frangarcia opened this issue Feb 18, 2014 · 2 comments

Comments

@frangarcia
Copy link

I am trying to work with this library in a Grails project but just running the example code

LessEngine engine = new LessEngine();

String text = engine.compile("div { width: 1 }");

throws the exception

com.asual.lesscss.LessException: Syntax Error: Cannot find function trim.

The version I am working on is 1.4.2.

It seems to be working with version 1.3.3.

@SanjayBysani
Copy link

Am running into the same issue and our code base is not compatible with the older version of less ! Any updates on understanding this issue would be of great help.

@SanjayBysani
Copy link

Been looking into this a bit. The problem in my case was, someother library had an internal dependency on a different version of rhino and, during compilation, the other rhino version was resolved to the classpath. Hope this helps.

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

No branches or pull requests

2 participants