Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!

stefanvd priority asked 1 year ago


Expected behavior no compiling errors

Actual behavior

Change Detected...

Compilation Error

Error: required parameters must precede optional parameters on line 10 of sass/c:\laragon\www\project_name\node_modules\mdb-ui-kit\src\mdb\scss\free\mixins_buttons.scss

$shadow, --^


Watching...

Resources (screenshots, code snippets etc.)


stefanvd priority answered 1 year ago


Addition

I was able to solve the above issue by migrating the live sass compiler to new edition.

Now there is this less critical notification (see below). Nevertheless I would like to know what this means, is this something that should be adjusted in the mdb core files - maybe with a future update?


Warning: $weight: Passing a number without unit % (100) is deprecated.

To preserve current behavior: $weight * 1%

More info: https://sass-lang.com/d/function-units ╷ 245 | @return mix(rgba($foreground, 1), $background, opacity($foreground) * 100); | ^..................................................................^ ╵ file:///c:/laragon/www/vanmarconl/node_modules/mdb-ui-kit/src/mdb/scss/bootstrap-rtl-fix/_functions.scss:245:10

THIS IS DEPRECATED AND WILL BE REMOVED IN SASS 2.0


Grzegorz Bujański staff commented 1 year ago

Are you sure you are using the latest version of the MDB? In the latest version we have updated the BS version to the latest one where these bugs have been fixed


stefanvd priority commented 1 year ago

This is my version: $ mdb --version Version: 4.1.0


Mateusz Lazaru staff commented 1 year ago

run mdb update to update package to the newest 4.3.0 version, where the error should not occur.


stefanvd priority answered 1 year ago


This is my version:

$ mdb --version

Version: 4.1.0



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 6.1.0
  • Device: desktop
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: No
Tags