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

Latest LESS doesn't compile #135

Open
avanwart opened this issue Jul 15, 2013 · 2 comments
Open

Latest LESS doesn't compile #135

avanwart opened this issue Jul 15, 2013 · 2 comments

Comments

@avanwart
Copy link

I have been compiling LESS with CodeKit successfully up until the latest CodeKit update. After bumping up to CodeKit 1.7.1 (8317) I get this error, even after reverting to a clean version of BootstrapWP:

ParseError: Unrecognised input in [PROJECT PATH]/wp-content/themes/bootstrap/assets/css/less/mixins.less on line 567, column 7:
566 .spanX (@Index) when (@Index > 0) {
567 (~".span@{index}") { .span(@Index); }
568 .spanX(@Index - 1);

(This action was triggered by a change to bswp-custom.less)

Can you advise? Thanks in advance for your time.

@rudyc
Copy link

rudyc commented Jul 24, 2013

Just updated and trying to figure it out as well. Have any luck yet?

Looks like LESS 1.4.0 has deprecated 'selector interpolation'. You'll need to change the syntax.

Example:
(~".myclass_@{index}") { ... selector interpolation is deprecated, do this instead .myclass_@{index} { .... This works in 1.3.1 onwards.

Source: http://lesscss.org/

@avanwart
Copy link
Author

I was able to resolve this by gutting Rachel's Bootstrap LESS and replacing it with a fresh copy of Bootstrap.

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