question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`gatsby develop` command gets stuck at source and transform nodes

See original GitHub issue

Summary

gatsby develop command gets stuck at source and transform nodes. It sometimes magically gets solved using a few options, but the problems persists. no way to find a sure shot solution out of it.

Relevant information

I have been dealing with this issue since some time now. i have checked issues #17131, 7885, 6645, 6385 and more irrelevant ones.

The problem is, one solution worked for me a few days back: resizing the window BUT when i try the same thing again today, it doesn’t seem to work right.

I have tried :

  1. clone the repository again
  2. delete node_modules and run yarn install
  3. delete lock files and run yarn install
  4. clear cache using gatsby clean

Issues regarding this have been closed in the past, but there doesn’t seem to be one solution to it! 😦

Environment (if relevant)

System: OS: Linux 5.3 Ubuntu 18.04.3 LTS (Bionic Beaver) CPU: (4) x64 Intel® Core™ i5-7200U CPU @ 2.50GHz Shell: 5.4.2 - /usr/bin/zsh Binaries: Node: 12.14.1 - /usr/bin/node Yarn: 1.21.1 - /usr/bin/yarn npm: 6.13.4 - /usr/bin/npm Languages: Python: 2.7.17 - /usr/bin/python Browsers: Chrome: 79.0.3945.117 Firefox: 74.0 npmPackages: gatsby: ^2.19.3 => 2.19.3 gatsby-cli: ^2.12.11 => 2.12.11 gatsby-image: ^2.2.39 => 2.2.39 gatsby-plugin-google-analytics: ^2.1.35 => 2.1.35 gatsby-plugin-manifest: ^2.2.31 => 2.2.31 gatsby-plugin-offline: ^3.0.27 => 3.0.27 gatsby-plugin-react-helmet: ^3.1.21 => 3.1.21 gatsby-plugin-robots-txt: ^1.5.0 => 1.5.0 gatsby-plugin-sass: ^2.1.27 => 2.1.27 gatsby-plugin-sharp: ^2.4.0 => 2.4.0 gatsby-plugin-sitemap: ^2.2.27 => 2.2.27 gatsby-plugin-styled-components: ^3.1.18 => 3.1.18 gatsby-plugin-typography: ^2.3.21 => 2.3.21 gatsby-plugin-web-font-loader: ^1.0.4 => 1.0.4 gatsby-source-filesystem: ^2.1.46 => 2.1.46 gatsby-source-wordpress: ^3.1.58 => 3.1.58 gatsby-transformer-json: ^2.2.25 => 2.2.25 gatsby-transformer-sharp: ^2.3.13 => 2.3.13 npmGlobalPackages: gatsby: 2.18.21

File contents (if changed)

gatsby-config.js: N/A package.json: N/A gatsby-node.js: N/A gatsby-browser.js: N/A gatsby-ssr.js: N/A

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
KashafS98commented, May 7, 2020

Sure, I’ll share the minimal reproduction of this as soon as possible

0reactions
pvdzcommented, Jul 7, 2020

@RonaldTshawe if you have a repo we can take a look at and build ourselves, then please open a new issue and tag me in it. If I can’t reproduce the build then there’s nothing I can do to triage. My suspicion is that something is simply taking a long time. This can be the actual download or the processing. This also depends on the speed of your server etc.

Going to lock this issue because the topic is too generic. If your build is “stuck” at source and transform nodes then it’s more than likely just taking a very long time. This might be caused by many things, large amount of content would be one of them. If you have a large site and it takes long and you can have us build it locally to repro, then open a new issue and feel free to tag me in it.

Thank you 💜

Read more comments on GitHub >

github_iconTop Results From Across the Web

React/Gatsby/Wordpress stuck on "source and transform nodes"
Try resizing your terminal. I know... it's weird but it's the fix for most people.
Read more >
Troubleshooting Common Errors - Gatsby
Running gatsby develop will recreate the cache and process all resources again. You may also want to refer to the dedicated guide on...
Read more >
Understanding the lifecycle of Gatsby - EQOLOT
"source and transform nodes". This API tells plugins to source and create nodes and is called once for each plugin we are using...
Read more >
Gatsby Changelog | 5.3.0
To create a Slice, you must first call createSlice within gatsby-node : ... Gatsby sites, so the implementation is built into Gatsby's open...
Read more >
React/Gatsby starter deployment error on run build: "Failed ...
The build log will get stuck in an infinite loop trying to run “npm run ... including changing the build command to “CI=...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found