DEV Community

loading...

Discussion on: How to Customize Bootstrap Theme using Sass.

Collapse
adamdsherman profile image
AdamDSherman

For the life of me I cannot get this to work.

I keep getting the error

node_modules\bootstrap\scss\_functions.scss
Error: argument `$number` of `unit($number)` must be a number
Enter fullscreen mode Exit fullscreen mode

I've tried this 3 ways now:

  1. using npm bootstrap
  2. using npm bootstrap-scss
  3. even just downloading the scss files direct

each time I do the exact things you have listed here but I get the same error.

Would anyone know why?