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

fixed navbar.less for latest lessc version #2646

Closed
wants to merge 1 commit into from
Closed

fixed navbar.less for latest lessc version #2646

wants to merge 1 commit into from

Conversation

hvwaldow
Copy link
Contributor

If the current version of less.js (2.5.1) compiles navbar.less (called from bin/less), the following error occurs:

An error occurred running the less command:
Command failed: NameError: #grid > .core > .span is undefined in /home/vonwalha/ckan/lib/default/src/ckan/ckan/public/base/vendor/bootstrap/less/navbar.less on line 199, column 3:
198 .navbar-fixed-bottom .container {
199   #grid > .core > .span(@gridColumns);
200 }

This results in an empty main.css.

Apparently this is due to an incompatibility between less.js versions. The fix was taken from
http://stackoverflow.com/questions/26628309/less-v2-does-not-compile-twitters-bootstrap-2-x

@brew brew self-assigned this Sep 17, 2015
@brew
Copy link
Member

brew commented Sep 17, 2015

We looked at this previously, and decided not to change the bootstrap vendor code, but instead to pin the less version in the docs. See the previous pull request for more details: #2101

@brew brew closed this Sep 17, 2015
@hvwaldow
Copy link
Contributor Author

Thanks brew. Sorry, should have searched better through previous pull-requests.

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

Successfully merging this pull request may close these issues.

2 participants