-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PostCSS error: false is not a PostCSS plugin [2.0.0-beta.37] #6459
Comments
I don't believe this is related to SCSS. I just tried running |
Just a touch more information - dropping to 2.0.0-beta.36 doesn't throw this error. Going to guess it's somehow related to the version bumps in #6455 |
Confirmed, even the starters are doing this that don't have sass in at all:
|
Ah, but I just updated to 37 because master was broken. I think I'm going to have to retreat to v1 due to time constraints. |
@jquense It's seems like the merging has been blocked by Travis.ci |
A quick fix for those on the rush, thanks to @jquense fix. // from this
// }), ..._plugins];
// to this
}), ..._plugins].filter(Boolean); |
@jquense' fix is published in beta.38. Please let us know if that fixes things for y'all! |
@KyleAMathews just ran into the same error and the update fixed it. Thanks! |
Description
I am getting PostCSS errors when compiling
scss
files. I havegatsby-plugin-sass
2.0.0-beta.5 installed.(spacing.scss is trivial, it has nothing to do with that file)
Steps to reproduce
I'm using:
gatsby-configs I've tried:
Even this still results in postCssPlugins being undefined for plugins using
onCreateWebpackConfig
:Expected result
Compiling scss
Actual result
Throwin' errors
gatsby-plugin-sass is not using the current gatsby api:
gatsby/packages/gatsby-plugin-sass/src/gatsby-node.js
Lines 3 to 6 in e67e533
There are no such options, those are undefined.
My gatsby-node.js
Environment
System:
OS: macOS High Sierra 10.13.3
CPU: x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
Shell: 5.3 - /bin/zsh
Binaries:
Node: 10.1.0 - ~/.nvm/versions/node/v10.1.0/bin/node
Yarn: 1.7.0 - /usr/local/bin/yarn
npm: 6.1.0 - ~/.nvm/versions/node/v10.1.0/bin/npm
Browsers:
Chrome: 67.0.3396.99
Safari: 11.0.3
npmPackages:
gatsby: 2.0.0-beta.37 => 2.0.0-beta.37
gatsby-link: next => 2.0.0-beta.4
gatsby-plugin-antd: ^1.0.12 => 1.0.12
gatsby-plugin-catch-links: 2.0.2-beta.2 => 2.0.2-beta.2
gatsby-plugin-react-helmet: 3.0.0-beta.3 => 3.0.0-beta.3
gatsby-plugin-sass: 2.0.0-beta.5 => 2.0.0-beta.5
gatsby-plugin-sharp: 2.0.0-beta.5 => 2.0.0-beta.5
gatsby-plugin-typescript: 2.0.0-beta.5 => 2.0.0-beta.5
gatsby-plugin-typography: 2.2.0-beta.2 => 2.2.0-beta.2
gatsby-remark-autolink-headers: 1.4.19 => 1.4.19
gatsby-remark-copy-images: 0.2.1 => 0.2.1
gatsby-remark-copy-linked-files: 1.5.37 => 1.5.37
gatsby-remark-embed-video: 1.4.0 => 1.4.0
gatsby-remark-external-links: 0.0.4 => 0.0.4
gatsby-remark-images: 2.0.1-beta.6 => 2.0.1-beta.6
gatsby-remark-prismjs: 2.0.4 => 2.0.4
gatsby-remark-responsive-iframe: 1.4.20 => 1.4.20
gatsby-source-filesystem: 2.0.1-beta.3 => 2.0.1-beta.3
gatsby-transformer-json: 1.0.20 => 1.0.20
gatsby-transformer-remark: 1.7.44 => 1.7.44
gatsby-transformer-yaml: 1.5.18 => 1.5.18
npmGlobalPackages:
gatsby-cli: 1.1.58
gatsby: 1.9.270 // but I don't run this, I use
npm start
All packages
File contents (if changed)
gatsby-config.js
: N/Apackage.json
: N/Agatsby-node.js
: N/Agatsby-browser.js
: N/Agatsby-ssr.js
: N/AThe text was updated successfully, but these errors were encountered: