-
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
"source and transform nodes" hangs system with gatsby-source-wordpress #4666
Comments
When it get stuck on that step after checking all wordpress endpoints it usually waits to fetch all images but currently it tries to download them all at once (so doing over 3000 request more or less at once for your images), which is not good (but soon-ish we should fix that - #4616). |
I'm having related issues with a large WordPress site. What causes the process to hang? Where can we trigger an explicit failure? |
i'm also getting this error. additional info: my site is running in a wordpress network configuration, and it hangs whether i query a fresh site or a large one. don't know if multisite is compatible.. |
I'll close this as duplicate of #6654 - that issue has reproduction repository |
I know its closed but In my case when i tried all solutions and nothing seems to fix it .. the only thing that worked was: Resizing the Terminal window !! when it gets stuck. |
Same here @r1q. I just resized my termina window and it worked. |
OMG, it actually worked 😳 |
Resizing the terminal window worked for me as well 🤯 |
Resizing the terminal window worked here too. |
oh my goodness, i can't believe this actually worked |
This is probably the weirdest solution I've seen to a problem ever. What could the cause be? |
Description
When using the WordPress source in Gatsby on a large WordPress site (6200 posts, 3196 images), the build process hangs my machine (a Late 2016 MacBook Pro running macOS 10.13.3) entirely, even if left overnight. This is probably related to #4293, except in my case the process never actually finishes.
With Activity Monitor running at the same time, it doesn't look like there's much CPU or network activity, but that might just be Activity Monitor silently crashing.
Steps to reproduce
gatsby-source-wordpress
plugin and configure it to point at a large WordPress installation, with or without hostingWPCOM enabled.page.js
andpost.js
templates from that same repo.gatsby build
orgatsby develop
Expected result
Gatsby should import all WordPress posts, pages, and images successfully.
Actual result
The system hangs and does not complete the build process.
Environment
gatsby@1.9.239
1.1.47
v9.8.0
File contents (if changed):
gatsby-config.js
(relevant part):package.json
: Identical to gatsby-starter-blog, but with"gatsby-source-wordpress": "^2.0.69",
added.gatsby-node.js
: Identical to https://github.com/gatsbyjs/gatsby/blob/master/examples/using-wordpress/gatsby-node.jsgatsby-browser.js
: Unchangedgatsby-ssr.js
: UnchangedThe text was updated successfully, but these errors were encountered: