Error in bootstrap 4 variables in SASS build


Topic: Error in bootstrap 4 variables in SASS build

unam-dgae pro asked 7 years ago

When building version 4.4.5 with sass the following error is shown:
Error in plugin 'sass'
Message:
 mdb-pro/sass/mdb/free/data/_variables-b4.scss
Error: (en: "Choose file...") isn't a valid CSS value.
 on line 474 of mdb-pro/sass/mdb/free/data/_variables-b4.scss
>> placeholder: (
 ---------------^
We tracked the issue to https://github.com/twbs/bootstrap/issues/25127 We edited the file to this:
 $custom-file-text: (
- placeholder: (
- en: "Choose file..."
- ),
- button-label: (
- en: "Browse"
- )
+ en: "Browse"
 ) !default;

Marta Szymanska staff pro premium answered 7 years ago

Hi, I'm sorry for this bug, we'll fix this in our next update. Best, Marta

unam-dgae pro commented 7 years ago

Thank you very much.

Marta Szymanska staff pro premium answered 7 years ago

Hi, thank you for information, we will look at this issue. Best, Marta

matt3 pro answered 7 years ago

+1 - I had to comment it out to get it to build with node-sass


FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Closed

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: Yes