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

Less files don't compile using Less >= 1.4 #104

Open
janekelly opened this issue Sep 10, 2013 · 1 comment
Open

Less files don't compile using Less >= 1.4 #104

janekelly opened this issue Sep 10, 2013 · 1 comment

Comments

@janekelly
Copy link

The symptom is:

$ lessc editor.less 
ParseError: Unrecognised input in /home/vagrant/.virtualenvs/.virtualenvs/dev/src/django-oscar-fancypages/fancypages/static/fancypages/less/bootstrap/mixins.less on line 561, column 7:
560     .spanX (@index) when (@index > 0) {
561       (~".span@{index}") { .span(@index); }
562       .spanX(@index - 1);

Downgrading less to 1.3.3 fixes this:

$ sudo npm install -g less@1.3.3
@janekelly
Copy link
Author

@andysellick advises that he's run across this issue recently & removing the tilde and quote marks around the .span@{index} should fix the problem

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

1 participant