Skip to content
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

Getting stuck at development mode #115

Closed
MarkosKon opened this issue Jul 28, 2020 · 6 comments
Closed

Getting stuck at development mode #115

MarkosKon opened this issue Jul 28, 2020 · 6 comments

Comments

@MarkosKon
Copy link

I can't complete the development build on an MDX blog that uses gatsby-remark-vscode after updating to Gatsby version 2.24.9. I am able to start the development server if I remove this plugin from the MDX gatsbyRemarkPlugins option, or if I downgrade Gatsby to 2.24.8.

I have a similar setup with @janosh blog. I was able to reproduce this issue by cloning the repository and upgrading Gatsby to 2.24.9 version (on a Windows 10 machine). Maybe it's related to this PR?

Let me know If you can reproduce this issue, or if it's something else on my side.

@Enter-tainer
Copy link

Hi, I'm having the same issue. When I run gatsby develop, the program would get stuck.

@pwign
Copy link

pwign commented Aug 4, 2020

Having the same issue here.

Stuck at run page queries step when using gatsby develop.

warn Query takes too long:
File path:
~/src/components/templates/blogTemplate.tsx
URL path: /blog/website-colors/
Context: {
    "id": "97b3b7f2-90bd-5d8e-94c6-8b4784cd0119"
warn Query takes too long:
File path: ~/src/pages/blog.tsx
URL path: /blog/
warn Query takes too long:
File path: ~/src/pages/index.tsx
URL path: /

Downgrading to Gatsby version to 2.24.8 resolved the issue.

@thedaviddias
Copy link

I confirm that I was having the same issue with the last version of Gatsby, downgrading to 2.24.8 solve indeed the issue but I would rather prefer to use a version updated of Gatsby 😢

@Enter-tainer
Copy link

Enter-tainer commented Aug 10, 2020

Hi everyone, I've found a nice substitution for this plugin: gatsby-remark-shiki. It also makes use of vscode's textmate grammer. Here is a demo, using vscode light+ theme.

image

@codepunkt
Copy link
Contributor

Same problem 😞

run page queries either takes endless, or crashes with some obscure gatsby cache error on newer gatsby versions.
2.22.15 was fine, latest is not.

@MarkosKon
Copy link
Author

It seems that they fixed this. See the mentioned issue by vladar above this comment.

I will close this issue for now but let me know if you still have problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants