Bulma: Getting error related to `mergeColorMaps`

Created on 17 Apr 2018  路  2Comments  路  Source: jgthms/bulma


This is about Bulma.

Overview of the problem

This is about the Bulma CSS framework

I'm using Bulma version 0.7.0
My browser is: N/A
I am sure this issue is not a duplicate

Description

When running yarn run gulp in my project, I get the following error:

Message:
    node_modules/bulma/sass/base/helpers.sass
Error: Invalid CSS after "...-mergeColorMaps": expected selector, was '(("white": white, #'
        on line 99 of node_modules/bulma/sass/base/helpers.sass
        from line 5 of node_modules/bulma/sass/base/_all.sass
        from line 4 of node_modules/bulma/bulma.sass
        from line 4 of scss/bulma.scss

Tried this with both gulp-sass 3.2.1 as well as 4.0.1.

Steps to Reproduce

Easiest steps to reproduce are:

git clone https://github.com/bolt/themes
cd themes/base-2018/source
yarn install
yarn run gulp build

Expected behavior

bulma.css to compile without errors.

Actual behavior

bulma.css does not compile.

Most helpful comment

It was probably a PEBCAK error.. I originally had this, which broke:

@import "../node_modules/bulma/sass/utilities/initial-variables";
@import "../node_modules/bulma/sass/utilities/functions";
@import "../node_modules/bulma/sass/utilities/mixins";

It's fixed by replacing that with:

@import "../node_modules/bulma/sass/utilities/_all";

.. and all is working again! 馃憤

All 2 comments

Oh, and just to note: This issue showed up, after bumping from Bulma 0.6.1 to 0.7.0. It might be something i'm missing, or it might be a bug.

Any help would be appreciated. 馃槂

It was probably a PEBCAK error.. I originally had this, which broke:

@import "../node_modules/bulma/sass/utilities/initial-variables";
@import "../node_modules/bulma/sass/utilities/functions";
@import "../node_modules/bulma/sass/utilities/mixins";

It's fixed by replacing that with:

@import "../node_modules/bulma/sass/utilities/_all";

.. and all is working again! 馃憤

Was this page helpful?
0 / 5 - 0 ratings