Topic: MDB 4.3.2 : SASS compiling error (helpers.scss)

GIRAUD pro asked 5 years ago


Hello,

Using version 4.3.2 of MDB, I get the following error when compiling the SASS files : Running "sass:compile" (sass) task

Error: argument $map of map-get($map, $key) must be a map on line 201 of node_modules/mdbootstrap/sass/mdb/free/_helpers.scss, in function map-get from line 201 of node_modules/mdbootstrap/sass/mdb/free/_helpers.scss from line 36 of node_modules/mdbootstrap/sass/mdb.scss from line 19 of app/Resources/public/css/src/psl.scss

$length-x: map-get($lengths, x);

-------------------^

Problem comes from _helpers.scss, line 201. Indeed if I remove those code lines, I can succesfully compile the SASS files. Any idea about the reasons for that error, and how to solve it ?


Marta Wierzbicka staff answered 5 years ago


Hi,

have you tried to update your project to the newest MDB version? I think it will help to solve the problems.

Best,

Marta



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: PC
  • Browser: Chrome
  • OS: Ubuntu
  • Provided sample code: No
  • Provided link: No
Tags