Error when compiling SASS (MDB Pro 4.3.1)


Topic: Error when compiling SASS (MDB Pro 4.3.1)

McKay pro asked 8 years ago

Hi, When compiling the Sass package that ships with the Pro Bundle I am getting the following error, with Prepos. I want to create my own color skin, but am unable to include the default MDB sass files due this. Error: Invalid CSS after "...clude flexbox()": expected "}", was "white-space: no..." on line 152 of mdb/pro/_tabs.scss from line 60 of mdb.scss from line 11 of custom.scss

Marta Szymanska staff pro premium answered 8 years ago

Hello, could you send to my email address: m.szymanska@mdbootstrap.com this scss file with your custom code? Now I can't recreate your problem, because on my computer Big Bundle pack works correct. Best, Marta

McKay pro answered 8 years ago

Hi Marta, When I compiled the same SCSS file I am not getting the same error. I did reinstall SASS though. Please close this issue. If it reoccurs I will log it again. Thanks

pro answered 8 years ago

I have the same issue!!! did not change anything exept colors!!!

Marta Szymanska staff pro premium answered 8 years ago

Hello, what specific logs do you have? Give here some demo or code, because I don't know what is wrong in your code. Best, Marta

apps pro answered 8 years ago

Hi Marta, I have the same problem, as McKay already mentioned in the post, the problem is in the sass files shipped with 4.3.2, pro/_tabs.scss There is no semi-colon after '@include flexbox()'

Marta Szymanska staff pro premium answered 8 years ago

Hi, we've fixed this and we'll update our MDB pack in new release. Best, Marta

Moussa pro answered 8 years ago

hello, I have this in my project soludis Invalid CSS after "...clude flexbox()": expected "}", was "white-space: no..." Someone can help me I use the pro version of mdbootstrap 4.3.2 THank

Marta Szymanska staff pro premium answered 8 years ago

Hi, this problem is in _tabs.scss file? Which preprocessor do you use? Best, Marta

leifcr pro answered 8 years ago

Seeing the same issue, the fix is to change line 151 in _tabs.css to @include flexbox(); Marta: Please report to your devs about the missing ; on line 151 in _tabs.scss. Minor typo :) I'm using mdbpro 4.3.2

Bartłomiej Malanowski staff pro premium answered 8 years ago

Hi, @leifcr, I can confirm that this will be fixed in upcoming release
Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags