sass / node-sass

:rainbow: Node.js bindings to libsass
https://npmjs.org/package/node-sass
MIT License
8.5k stars 1.33k forks source link

Having node-sass build errors - invalid CSS #3387

Open tanviropsec opened 6 months ago

tanviropsec commented 6 months ago

having this error while trying to build in jenkins -

Compiling SASS: /var/lib/jenkins/workspace/ui-package/node_modules/.bin/node-sass --importer /var/lib/jenkins/workspace/ui-package/tools/sass-node-importer.js style.scss { "status": 1, "file": "/var/lib/jenkins/workspace/ui-package/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_variables.scss", "line": 369, "column": 46, "message": "Invalid CSS after "... floor(math": expected expression (e.g. 1px, bold), was ".div($grid-gutter-w"", "formatted": "Error: Invalid CSS after "... floor(math": expected expression (e.g. 1px, bold), was ".div($grid-gutter-w"\n on line 369 of ../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_variables.scss\n from line 2 of src/CompanyProfile/CompanyProfile.scss\n from line 7 of style.scss\n>> vbar-padding-horizontal: floor(math.div($grid-gutter-width, 2)) !defa\n ------------------------------------------^\n" }

node version: 10.24.1 node-sass version: ^4.9.1 bootstrap-sass version: ^3.3.7