Closed h0tc0d3 closed 7 years ago
gulp-postcss
bumped the major version of PostCSS, so there may be incompatibilities with some plugins. Please check what plugins are broken, update them to the most recent versions, or open issues in the corresponding repositories. You can always use the previous version of gulp-postcss
.
This bug manifests only in gulp-postcss + postcss-import. I disable all plugins and found this chain. These two plug-ins create this effect. If i install gulp-postcss@6.3.0 + postcss 6.0.1 then no errors and all works fine.
Does it work with gulp-postcss 6.4.0?
Work. Bug only in "gulp-postcss": "^7.0.0".
The only change between 6.4.0 and 7.0.0 was a bump of postcss from 5 to 6. So it must be related to this. This proves my first comment was correct.
FWIW Node#before is deprecated. Use Node#raws.before
is an unnecessary message in PostCSS itself that you receive when following the correct usage.
I have the same issue described by @h0tc0d3. However the error message go when commenting out the precss
plug-in. Is it worth it to open a bug report on your repo @jonathantneal?
In latest version:
In v6.3.0 all fine. The bug is manifested with postcss-import https://github.com/postcss/postcss-import/issues/285