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
Failed build - Css Minimizer #31509
Comments
Hi @t2ca Sorry to hear you're running into an issue. To help us best begin debugging the underlying cause, it is incredibly helpful if you're able to create a minimal reproduction. This is a simplified example of the issue that makes it clear and obvious what the issue is and how we can begin to debug it. If you're up for it, we'd very much appreciate if you could provide a minimal reproduction and we'll be able to take another look. Thanks for using Gatsby! 💜 |
@vladar Just use the most recent Gatsby version with gatsby-plugin-sass and node-sass 6. I'm having the same issue here |
This was an upstream issue in omgovich/colord#51 - updating your dependencies so that you get |
@LekoArts shouldn't this also be done in Gatsby dependencies? It's a bit weird installing packages on our own projects just to lock the version. |
We don't pin version but use
|
In my case I just found that I was using gatsby-plugin-react-svg and a css with background-image: url("../something.svg") I guess that this may cause a conflict. |
Recently I started having these errors during build.
Local
Netlify
Edit: I was able to solve this issue in Netlify by changing the Node version in the settings to Node 16.
You can do this by adding the following environment variable in Netlify.
NODE_VERSION 16
The text was updated successfully, but these errors were encountered: