-
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
Using sort
and filter
in allMarkdownRemark
breaks develop mode
#16446
Comments
This was merged into it's own branch as there is a bug in Gatsby that breaks develop mode with this applied. Waiting until upstream fix before merging into master
What's the error message you get? I see |
Pushed a commit that fixes that problem to the same branch, sorry @stefanprobst . Thought I added that file after gitignoring |
After the page refreshes a bunch, I get the error upon the CLI failing:
|
Hmm I cannot reproduce this. Running develop in the |
That's so strange. Could it have something to do with the systems we're using somehow? Just to confirm, this is AFTER opening the I I just realized, interestingly, that it only happens if I install it on my install on Chrome, but not Firefox or Safari
|
yes. I'm, on Linux, Node 10.16.2, Firefox 68/Chromium 76. |
After looking into a bunch of stuff it seems that going into the site settings and clearing cache has fix the issue. Strange. |
@crutchcorn also get a similar error here: #16141 (comment) what's your gatsby version? what do you mean by going into the site settings? |
@slorber I mean within the application tab on Chrome (it will likely change depending on your browser, this is the only one I was having issues on): Then pressing "Clear site data" |
Thanks I see |
Description
Describe the issue that you're seeing.
When using
allMarkdownRemark
with bothsort
andfilter
breaks develop mode (when opening thelocalhost:8000
port, it will flash the screen between background color and white, then crash the CLI).Steps to reproduce
Clear steps describing how to reproduce the issue. Please please please link to a demo project if possible, this makes your issue much easier to diagnose (seriously).
This commit shows the changes made:
unicorn-utterances/unicorn-utterances@a046f1e
You can see that using
npm run develop
and opening the localhost instance will show the error but runningnpm run build
and opening thepublic
folder built code will run just fineEnvironment
Run
gatsby info --clipboard
in your project directory and paste the output here.Environment Info
The text was updated successfully, but these errors were encountered: