Cant create new blog posts inside gatsby-starter-minimal-blog
See original GitHub issueHey there, in my case the creating of new blog posts does not work. I created a new index.mdx file inside posts/test-article
myblog/
└───content/
└───posts/
└───test-article/
└─ index.mdx
but the new article is not displayed. The content of index.mdx:
---
title: "Test Article"
date: 2020-02-06
---
Hello everyone. good news!
The output from gatsby develop
looks fine to me.
➜ blog git:(master) ✗ gatsby develop
success open and validate gatsby-configs - 0.095s
success load plugins - 1.269s
warn The Google Analytics plugin requires a tracking ID. Did you mean to add it?
success onPreInit - 0.027s
success initialize cache - 0.011s
success copy gatsby files - 0.057s
success onPreBootstrap - 0.020s
success createSchemaCustomization - 0.015s
success source and transform nodes - 0.241s
success building schema - 0.833s
success createPages - 0.119s
success createPagesStatefully - 0.096s
success onPreExtractQueries - 0.009s
success update schema - 0.074s
success extract queries from components - 0.686s
success write out requires - 0.099s
success write out redirect data - 0.010s
success Build manifest and related icons - 0.005s
success onPostBootstrap - 0.064s
⠀
info bootstrap finished - 7.852 s
⠀
success run queries - 0.080s - 2/2 24.88/s
⠀
You can now view minimal-blog in the browser.
⠀
http://localhost:8000/
⠀
View GraphiQL, an in-browser IDE, to explore your site's data and schema
⠀
http://localhost:8000/___graphql
⠀
Note that the development build is not optimized.
To create a production build, use gatsby build
Any ideas where I can look next?
Issue Analytics
- State:
- Created 4 years ago
- Comments:9
Top Results From Across the Web
LekoArts/gatsby-starter-minimal-blog - GitHub
Typography driven, feature-rich blogging theme with minimal aesthetics. Includes tags/categories support and extensive features for code blocks such as live ...
Read more >Creating a Gatsby blog from scratch - LogRocket Blog
In this post, I will share how to build a blog from a simple Gatsby starter kit and explain how Gatsby works behind...
Read more >Creating a Blog with Gatsby
In this post, we'll take a deep dive into Gatsby and some of the new 1.0 features by creating a static blog. Let's...
Read more >The Beginners Guide to Setting Up a Gatsby Blog | by Urvashi
Create an account on Netlify · After logging in, go to Sites · Now click on “New Site from git” · Complete the...
Read more >Starting a technical blog in 2021 - Gatsby + Github Pages ...
How can you create a blog using Gatsby and host it for free on Github Pages?
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mojovski I think I figured it out; the GraphQL queries are cached, so on the development server the queries aren’t necessarily run again.
Try:
That works for me
Thanks @kylebarron !
gatsby clean
resolves the issue