Closed vitalijusm2 closed 2 years ago
Hello @vitalijusm2
This error happens because you are using an older version of sass than Axentix.
Since 1.33.0 describe in their changelog we need to use math.div
to make divisions.
Axentix maintains its dependencies to the latest version, so upgrading your sass version will resolve your problem.
Understood.will try to update
Hi, I need some help. When I'm trying to compile scss with npm sass comand, I get this error:
Error: Undefined function. ╷ 9 │ $color-brightness: round((red($n) 299) + (green($n) 587) + math.div(blue($n) * 114, 1000)); │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ utilities_functions.scss 9:66 txtColor() components_pagination.scss 35:14 @import axentix.scss 29:9 root stylesheet.
What I am doing wrong? If i remove these lines with
everything compiles correctly.
Thanks for help.