-
Notifications
You must be signed in to change notification settings - Fork 29
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
Error evaluating function each
#25
Comments
Pretty much any |
each
: error evaluating function theme-color-level
: Cannot read property 'name' of undefinedeach
Hey @Jany-M, thanks for opening an issue and sorry to hear you’re having issues. A few questions: What version of Less are you using? What tool/framework/command are you using to compile Less? Have you changed/customized any of the variables? |
No worries and thank you for your work! I use the Easy Compile extension for VS Code, it uses |
Bummer, it looks like that’s the issue. 🙁 A minimum of Less 3.9.0 is needed since v2.0.0.
Thanks for opening that issue! I’ve given it a 👍 so hopefully it gets more visibility.
I checked the readme and it looks like the Less 3.9.0 requirement is already there—but I can see how it’s easy to miss. Maybe I should bold it to make it stand out more, or add a “requirements” section? There might be a temporary solution though: you can install v1.0.0 of the port (equivalent to Bootstrap v4.1.3) and use that until the Easy Compile extension is updated. v1 is compatible with older versions of Less. Alternatively, you could compile your Less using VS Code directly, using a custom task instead of an extension. If you go this route and run into an issues, let me know and I might be able to help out. Hopefully this helps. Let me know if you have any other questions. |
{
"resource": "\node_modules\bootstrap-less-port\less\_tables.less",
"owner": "generated_diagnostic_collection_name#1",
"severity": 8,
"message": "error evaluating function
each
: error evaluating functiontheme-color-level
: Cannot read property 'name' of undefined","startLineNumber": 101,
"startColumn": 1,
"endLineNumber": 101,
"endColumn": 1
}
The text was updated successfully, but these errors were encountered: