Open Punisheroot opened 2 years ago
Hello @Punisheroot
This problem is caused by math.div
call that should be replaced as bellow:
body {
font-size: math.div(32px, 2);
}
body {
font-size: (32px/2);
}
Being a problem inside a dependency package, we can't assist you further with this issue.
P.S. The problem will be forwarded to Themesberg, the agency that provides the design. In case they patch the product, we will update accordingly.
Hi i fixed all the math.div in node_modules\vanillajs-datepicker\sass\datepicker.scss, but i have another error:
Error in plugin "sass" Message: node_modules\bootstrap\scss_utilities.scss Error: Undefined variable: "$utilities-border-colors". on line 142 of node_modules/bootstrap/scss/_utilities.scss from line 29 of scss/volt.scss
values: $utilities-border-colors
EDIT: I fixed the error adding
@import "_maps";
in node_modules\bootstrap\scss_utilities.scss
Noted, ty!
For those coming here and can't get gulp to work, to fix this properly:
node-sass
needs to be replaced with saas
to get the math.div function in the package.json
@use 'saas:math';
at the top of the file for any that uses math.div.@import "../node_modules/bootstrap/scss/maps";
should be added above @import "../node_modules/bootstrap/scss/utilities";
Don't edit the files in node_modules directly. They'll disappear on update.
Hi, i have a problem with gulp: Message: Error in plugin "sass" Message: node_modules\vanillajs-datepicker\sass\datepicker.scss Error: Invalid CSS after "...ize-base * math": expected expression (e.g. 1px, bold), was ".div(7, 8);" on line 53 of node_modules/vanillajs-datepicker/sass/datepicker.scss from line 24 of scss/volt.scss
Node version: 6.15.0 Gulp version: 4.0.2