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.

Development bundle stuck

See original GitHub issue

Description

While creating the development bundle, sometimes it stucks on onPostBoostrap and Build manifest and related icons. The problem is related with the plugin gatsby-plugin-manifest or with the cache:

  • If I comment out the plugin in gatsby-config.js the problem will not occur again

  • If I delete the cache with the command gatsby clean the problem will not occur again

The problem is certainly related only to the development bundle not the building one.

Expected result

gatsby develop works

Actual result

gatsby develop fails

Environment

System: OS: Windows 10 10.0.18362 CPU: (8) x64 Intel® Core™ i5-8250U CPU @ 1.60GHz Binaries: Node: 12.18.0 - D:\node.js\node.EXE Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD npm: 6.14.8 - D:\node.js\npm.CMD Languages: Python: 3.8.0 Browsers: Chrome: 85.0.4183.102 Edge: Spartan (44.18362.449.0) npmPackages: gatsby: ^2.24.61 => 2.24.61 gatsby-cli: ^2.12.98 => 2.12.98 gatsby-image: ^2.4.19 => 2.4.19 gatsby-plugin-facebook-pixel: ^1.0.3 => 1.0.3 gatsby-plugin-feed-mdx: ^1.0.1 => 1.0.1 gatsby-plugin-google-analytics: ^2.3.4 => 2.3.14 gatsby-plugin-linkedin-insight: ^1.0.1 => 1.0.1 gatsby-plugin-lunr: ^1.5.2 => 1.5.2 gatsby-plugin-manifest: ^2.4.30 => 2.4.30 gatsby-plugin-mdx: ^1.0.57 => 1.2.40 gatsby-plugin-offline: ^3.0.40 => 3.2.28 gatsby-plugin-react-helmet: ^3.1.16 => 3.3.11 gatsby-plugin-sass: ^2.3.6 => 2.3.13 gatsby-plugin-sharp: ^2.5.7 => 2.6.36 gatsby-plugin-sitemap: ^2.4.1 => 2.4.13 gatsby-remark-images: ^3.1.38 => 3.3.30 gatsby-source-filesystem: ^2.1.40 => 2.3.30 gatsby-transformer-json: ^2.2.18 => 2.4.12 gatsby-transformer-sharp: ^2.4.7 => 2.5.15 npmGlobalPackages: gatsby-cli: 2.12.99

and my package json:

“dependencies”: { “@mdx-js/mdx”: “^1.6.16”, “@mdx-js/react”: “^1.5.1”, “bulma”: “^0.9.0”, “formik”: “^2.1.4”, “gatsby”: “^2.24.61”, “gatsby-cli”: “^2.12.98”, “gatsby-image”: “^2.4.19”, “gatsby-plugin-facebook-pixel”: “^1.0.3”, “gatsby-plugin-feed-mdx”: “^1.0.1”, “gatsby-plugin-google-analytics”: “^2.3.4”, “gatsby-plugin-linkedin-insight”: “^1.0.1”, “gatsby-plugin-lunr”: “^1.5.2”, “gatsby-plugin-manifest”: “^2.4.30”, “gatsby-plugin-mdx”: “^1.0.57”, “gatsby-plugin-offline”: “^3.0.40”, “gatsby-plugin-react-helmet”: “^3.1.16”, “gatsby-plugin-sass”: “^2.3.6”, “gatsby-plugin-sharp”: “^2.5.7”, “gatsby-plugin-sitemap”: “^2.4.1”, “gatsby-remark-images”: “^3.1.38”, “gatsby-source-filesystem”: “^2.1.40”, “gatsby-transformer-json”: “^2.2.18”, “gatsby-transformer-sharp”: “^2.4.7”, “glob”: “^7.1.6”, “node-sass”: “^4.14.1”, “react”: “^16.12.0”, “react-dom”: “^16.12.0”, “react-google-recaptcha-v3”: “^1.5.2”, “react-helmet”: “^5.2.1”, “yup”: “^0.29.1” }

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
l-u-m-ecommented, Sep 25, 2020

The issue can be closed since today I run yarn upgrade and all the problem related to gatsby-plugin-manifest are gone!

1reaction
l-u-m-ecommented, Sep 24, 2020

I will reproduce the problem as soon as possible. But now I’m sure that the problem is related with the gatsby-plugin-manifest.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What might cause `gatsby develop` to get stuck while building ...
... they are unable to run it, because it gets stuck while building a "development bundle". Neither development nor production build works.
Read more >
Running gatsby develop just hangs forever : r/gatsbyjs - Reddit
I've tried changing my node version, updating yarn and even removing it from the machine entirely. Nothing works.
Read more >
Beginner - Stuck Early On | Apple Developer Forums
I just started with the first book from Apple entitled "Develop in Swift Fundamentals". When trying out my first lesson to execute a...
Read more >
Troubleshooting Common Errors - Gatsby
If you encounter a webpack error that says Generating SSR bundle failed after installing a plugin and trying to run gatsby develop or...
Read more >
Understanding the lifecycle of Gatsby - EQOLOT
To start a Gatsby project locally, we run the command gatsby develop in our ... the gatsby-plugin-sharp plugin) right before building the development...
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