V
V
Vladimir2017-02-06 11:47:08
Sass
Vladimir, 2017-02-06 11:47:08

Bourbon in gulp throws a bunch of warnings. What can be wrong?

Hello.
I ran into a problem that bourbon in gulp started to issue a bunch of warnings when compiling scss.
The errors are like this:

WARNING: [Bourbon] [Deprecation] `contains` is deprecated and will be removed in 5.0.0.
Backtrace:
        node_modules/bourbon/app/assets/stylesheets/functions/_contains.scss:20, in function `contains`
        node_modules/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss:40, in function `font-source-declaration`
        node_modules/bourbon/app/assets/stylesheets/css3/_font-face.scss:16, in mixin `font-face`
        app/scss/fonts.scss:8

Everything would be fine, because these are not errors, but warnings, but about 100 such warnings are issued at a time, which makes the scss compilation process very long.
There are no errors in the code for sure, because I did not even change anything, but before everything worked.
This has never happened before, although nothing has changed.
I store my assembly on github, and from there I already clone and work. Literally three weeks ago I cloned it and everything was fine, but today it’s already such a disaster.
I followed the paths indicated in the warning and looked at what was in the files, and indeed, they contain those lines that generate these warnings. I compared it with the version I used a couple of weeks ago, but there are no lines in these files that generate such warnings.
This is very strange, because I did not change the package versions. Version of gulp, npm, etc. absolutely the same as before.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sunir, 2017-02-06
@probeloff

install bourbon 4.2.7

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question