twbs / bootstrap-sass

Official Sass port of Bootstrap 2 and 3.
http://getbootstrap.com/css/#sass
MIT License
12.6k stars 3.53k forks source link

3.4.2 has breaking change math.div #1230

Open MartinSoderholm opened 2 years ago

MartinSoderholm commented 2 years ago

Upgrading from 3.4.1 to 3.4.2 results in bunch of errors like below during build.

Error: Module build failed (from ../../node_modules/sass-loader/dist/cjs.js):
SassError: Invalid CSS after "...     floor(math": expected expression (e.g. 1px, bold), was ".div($grid-gutter-w"
        on line 369 of ../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_variables.scss
        from line 2 of src/AppView/style.scss
>> vbar-padding-horizontal:        floor(math.div($grid-gutter-width, 2)) !defa
   ------------------------------------------^

Using: node v16.13.2 npm 8.5.2 webpack 5.69.1 sass-loader 12.6.0

Eseperio commented 2 years ago

see #1228

alghouliammar1 commented 2 years ago

thank you @lucy-vxt for ur suggestion it works with me

RobertDS07 commented 1 year ago

thank you @lucy-vxt for ur suggestion it works with me too