-
Notifications
You must be signed in to change notification settings - Fork 60
Unable to compile less file. #162
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
Comments
Now getting this error
|
It is compling now, but don't provide the complete CSS like colors are not showing up and other things as well. |
@swastkk I ran into the same issue. I believe this boils down to the location of the Less compiler changing, but I was able to work around this by setting an explicit STATIC_PRECOMPILER_COMPILERS = (
(
"static_precompiler.compilers.LESS",
{
"executable": BASE_DIR / "node_modules/less/bin/lessc",
},
),
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Used the
python manage.py compilestatic
command to compile thecard.less
file which is in thestatic
folder of django project, getting this errorAlso my html was not rendering as well

Used in this manner
<link rel="stylesheet" href="{% static 'card.less'|compile %}" />
Getting this in browser
Please help.
The text was updated successfully, but these errors were encountered: