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 Building production JavaScript and CSS bundles #23246
Comments
Commenting out my single scss import allowed me to build. This line is in my Layout.js:
|
Hi @xBLADEx ! 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! 💜 |
Ok cool, I will work on setting up a reproduction, I might even be able to narrow in myself, thanks for the response. |
So the problem was caused by setting a background image with a .svg in the .scss file. Still figuring out why but closing this as it's not a gatsby build issue. |
@xBLADEx how did you solve the issue? I'm getting a similar error when I tried |
@xBLADEx just ran into the exact same problem |
for those who may run into this in the future; in our case it was due to a bug within |
I didn't know where else to turn to, searched everything I could but I'm stuck.
During gatsby build or npm run build I get this Unknown word error.
I'm using SCSS files and I can't help but wonder if that is the culprit since it points to a problem with styles.css.
I've removed node modules, removed cache, restarted everything.
Develop works perfectly, but build breaks and cannot complete.
plugins has
gatsby-plugin-sass
, no options being used.I have node-sass. Where should I look?
The text was updated successfully, but these errors were encountered: