gatsby: Gatsby stuck on generating image thumbnails
Steps to reproduce
git clone https://github.com/excalidraw/excalidraw-blog.git
cd
yarn
yarn start
Expected result
It finishes and runs
Actual result
It gets stuck, nothing happens
Environment
yarn gatsby info --clipboard
Using globally installed version of Yarn
yarn run v1.12.1
$ /Users/vjeux/random/excalidraw-blog/node_modules/.bin/gatsby info --clipboard
System:
OS: macOS Mojave 10.14.6
CPU: (8) x64 Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 13.5.0 - /var/folders/5g/017j6z2s7cg5g0n630b2hz00nw04y4/T/yarn--1586633275550-0.4174312792538786/node
Yarn: 1.12.1 - /var/folders/5g/017j6z2s7cg5g0n630b2hz00nw04y4/T/yarn--1586633275550-0.4174312792538786/yarn
npm: 6.13.4 - ~/.nvm/versions/node/v13.5.0/bin/npm
Languages:
Python: 2.7.16 - /usr/bin/python
Browsers:
Chrome: 80.0.3987.163
Safari: 13.1
npmPackages:
gatsby: 2.20.2 => 2.20.2
gatsby-image: 2.3.1 => 2.3.1
gatsby-plugin-dark-mode: 1.1.1 => 1.1.1
gatsby-plugin-feed: 2.4.1 => 2.4.1
gatsby-plugin-google-analytics: 2.2.2 => 2.2.2
gatsby-plugin-manifest: 2.3.3 => 2.3.3
gatsby-plugin-offline: 3.1.0 => 3.1.0
gatsby-plugin-react-helmet: 3.2.1 => 3.2.1
gatsby-plugin-sharp: 2.5.3 => 2.5.3
gatsby-plugin-sitemap: 2.3.1 => 2.3.1
gatsby-plugin-twitter: 2.2.1 => 2.2.1
gatsby-plugin-typography: 2.4.1 => 2.4.1
gatsby-plugin-zeit-now: 0.2.0 => 0.2.0
gatsby-remark-copy-linked-files: 2.2.1 => 2.2.1
gatsby-remark-embedder: 1.16.0 => 1.16.0
gatsby-remark-images: 3.2.1 => 3.2.1
gatsby-remark-prismjs: 3.4.1 => 3.4.1
gatsby-remark-responsive-iframe: 2.3.1 => 2.3.1
gatsby-remark-smartypants: 2.2.1 => 2.2.1
gatsby-source-filesystem: 2.2.2 => 2.2.2
gatsby-transformer-remark: 2.7.1 => 2.7.1
gatsby-transformer-sharp: 2.4.3 => 2.4.3
✨ Done in 1.44s.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (9 by maintainers)
+1 CLI version
2.12.109
, always gets stuck at 100%. Oddly, if I hit Ctrl+C when it hangs and then rerungatsby build
/gatsby develop
, the second run completes pretty much instantly (~30 seconds). The bug(?) caused my last remote deploy to take 14 minutes, but locally, I can get it to complete in under 2 minutes if I Ctrl+C and restart.Any insight into what’s going on…?
--verbose
doesn’t say anything about the thumbnail-generation process.Here’s my
gatsby info
:Hi everyone. Any fix on this? I am on
I am unable to build locally. Gets stuck for minutes on
If I downgrade, it works on gatsby@2.20.13
@MichaelDeBoey it might make sense to add an automatic warning if an embed call takes more than e.g. 5 seconds as other services could occasionally hang and people wouldn’t easily know what happened in their build.
or actually… they turn every line into a URL & see if it validates 🤔
Ah
gatsby-remark-embedder
is swallowing errorsNo, but I guess you could bisect on the repo, there are not a lot of commits