-
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
CSS Failing to Compile Sporadically on Netlify Builds #4418
Comments
Can you try updating Gatsby and plugins to the latest version?
…On 7 March 2018 at 17:11, Jared Silver ***@***.***> wrote:
Description
*I'm not convinced this is an issue with Gatsby, but the Twitter account
encouraged me to open an issue for it just in case.*
A couple times recently, I've gone to deploy my personal website built
with Gatsby on Netlify, and it appears the CSS either fails to compile or
fails to load once deployed.
The build logs show no sign of any warnings or errors, but the result is
my personal website appearing without any styling.
Steps to reproduce
This happens sporadically, and I've not been able to reproduce it by my
own volition. It has not happened locally.
It appears to get fixed when I manually redeploy and clear the build cache
on Netlify.
Expected result
The site should appear as it does during local development.
Actual result
The site appears without styling.
Environment
- Gatsby version (npm list gatsby): 1.9.145
- gatsby-cli version (gatsby --version): Unsure (whatever Netlify uses)
- Node.js version: v6.13.1
- Operating System: Unsure (whatever Netlify uses)
File contents (if changed):
gatsby-config.js: https://github.com/jaredsilver/jaredasilver.com/
blob/master/gatsby-config.js
package.json: https://github.com/jaredsilver/jaredasilver.com/
blob/master/package.json
gatsby-node.js: not changed
gatsby-browser.js: not changed
gatsby-ssr.js: not changed
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4418>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAXTaZRdiFSlGc7pls1tp7I5Sk7KEidEks5tcBSugaJpZM4Sg0vU>
.
|
I just ran Is it possible I've just made a mess of npm and yarn?
|
Just adding some additional information: Here's a version of the site on Netlify that deployed with no CSS: https://5aa035a2295b5513ea171241--jaredasilver.netlify.com/ And here's the live version with CSS: https://jaredasilver.com For some reason, the first one has nothing inside |
Could this be related to #4516? |
I'm having the same issue. I'm using |
Same issue for me. I created a project from gatsby-advanced-starter and added Still didn't find a cause of the issue. Mac OS. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub issues, we have to clean some of the old issues as many of them have already been resolved with the latest updates. Please make sure to update to the latest Gatsby version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 |
I haven't experienced this problem in months, so I'm going to close the issue. If it comes up again, or if someone else experiences something similar, we can reopen it. |
Description
I'm not convinced this is an issue with Gatsby, but the Twitter account encouraged me to open an issue for it just in case.
A couple times recently, I've gone to deploy my personal website built with Gatsby on Netlify, and it appears the CSS either fails to compile or fails to load once deployed.
The build logs show no sign of any warnings or errors, but the result is my personal website appearing without any styling.
Steps to reproduce
This happens sporadically, and I've not been able to reproduce it by my own volition. It has not happened locally.
It appears to get fixed when I manually redeploy and clear the build cache on Netlify.
Expected result
The site should appear as it does during local development.
Actual result
The site appears without styling.
Environment
npm list gatsby
): 1.9.145gatsby --version
): Unsure (whatever Netlify uses)File contents (if changed):
gatsby-config.js
: https://github.com/jaredsilver/jaredasilver.com/blob/master/gatsby-config.jspackage.json
: https://github.com/jaredsilver/jaredasilver.com/blob/master/package.jsongatsby-node.js
: not changedgatsby-browser.js
: not changedgatsby-ssr.js
: not changedThe text was updated successfully, but these errors were encountered: